HttpResponse.__init__(content='', content_type=None, status=200, reason=None, charset=None) [source]
Instantiates an HttpResponse object with the given page content and content type.
content should be an iterator or a string. If it’s an iterator, it should return strings, and those strings will be joined together to form the content of the response. If it is not an iterator or a string, it will be converted to a string when accessed.
content_type is the MIME type optionally completed by a ch