original_docstring:  General function for completing HTTP Requests over JSON. 
docstring: General function for completing HTTP Requests over JSON.
docstring_tokens: General function for completing HTTP Requests over JSON .
code: def _http_requests_json(url, headers={}, body=None):
      """ General function for completing HTTP Requests over JSON. """
      print("HTTP Request: %s" % url)
      headers["Content-Type"] = "application/json"
      headers["Accept"] = "application/json"
      request = urllib2.Request(url, body, headers)
      response_body = urllib2.urlopen(request)
      return json.load(response_body)
code_tokens: def _http_requests_json ( url , headers = { } , body = None ) : print ( "HTTP Request: %s" % url ) headers [ "Content-Type" ] = "application/json" headers [ "Accept" ] = "application/json" request = urllib2 . Request ( url , body , headers ) response_body = urllib2 . urlopen ( request ) return json . load ( response_body )
short_docstring: General function for completing HTTP Requests over JSON.
short_docstring_tokens: General function for completing HTTP Requests over JSON .
comment: """ General function for completing HTTP Requests over JSON. """