def create_http_response(content, status=<NUM_LIT:200>):<EOL>
response = requests.Response()<EOL>response.encoding     = '<STR_LIT:utf-8>'<EOL>response.status_code  = status<EOL>response.raw          = BytesIO(content.encode('<STR_LIT:utf-8>'))<EOL>return response<EOL>
Creates an HTTP Response object for a test.

References:
  - :py:meth:`requests.adapters.HTTPAdapter.build_response`