def _make_http_response(code=200):
 response = requests.Response()
 response.status_code = code
 return response

def _make_http_response ( code = 200 ) : response = requests . Response ( ) response . status_code = code return response
a helper for creating http responses .