'Return the default headers which will be used with outgoing requests
:param str accept_type: The media type to use for the Accept header, if
one isn\'t provided the object var TYPE will be
used
:param str send_type: The media-type to use for the Content-Type
header, if one isn\'t provided the object var
TYPE will be used
:rtype: dict
:return: The dictionary of headers which can be used in the headers
dict for outgoing request'

def get_headers(self, accept_type=None, send_type=None):

    if (accept_type is None):
        accept_type = 'json'
    if (send_type is None):
        send_type = 'json'
    return {'Content-Type': ('application/%s' % send_type), 'Accept': ('application/%s' % accept_type)}
