1
0
mirror of https://github.com/django/django.git synced 2025-03-25 00:30:45 +00:00

14 Commits

Author SHA1 Message Date
Claude Paroz
d7b9aaa366 Refs -- Removed encoding preambles and future imports 2017-01-18 09:55:19 +01:00
roboslone
544b2ef29f Fixed -- Fixed HttpResponse's __repr__() without a 'Content-Type' header. 2016-12-27 14:42:58 -05:00
Ryan Allen
190d2ff4a7 Fixed -- Added validation for HttpResponse status. 2016-08-30 21:59:43 -04:00
Hasan
3d0dcd7f5a Refs -- Used context manager version of assertRaises in tests. 2016-01-29 12:32:18 -05:00
Johannes Hoppe
5233b70070 Fixed -- Made HttpReponse immediately close objects. 2015-12-14 12:46:48 -05:00
Jon Dufresne
05248a1009 Fixed -- Added IOBase methods required by TextIOWrapper to HttpResponse. 2015-10-21 10:42:29 -04:00
Keryn Knight
c96f11257b Refs -- Added meaningful repr() to HttpResponse and subclasses. 2015-07-15 09:01:25 -04:00
Jon Dufresne
d861f95c44 Fixed -- Changed HttpResponse.reason_phrase to evaluate based on status_code. 2015-03-12 20:18:06 -04:00
Jon Dufresne
24b2bc635e Fixed -- Switched to HTTP reason phrases from Python stdlib. 2015-01-28 06:59:40 -05:00
Sergey Parkhomenko
059c9ab24c Fixed -- Added setdefault() method to HttpResponse 2014-12-11 13:56:56 -05:00
Michael Kelly
ebc8e79cf3 Fixed -- Added stream-like API to HttpResponse.
Added getvalue() to HttpResponse to return the content of the response,
along with a few other methods to partially match io.IOBase.

Thanks Claude Paroz for the suggestion and Nick Sanford for review.
2014-11-03 12:29:19 -05:00
Unai Zalakain
5f2542f12a Fixed -- Made HttpResponse charset customizable.
Thanks to Simon Charette, Aymeric Augustin, and Tim Graham
for reviews and contributions.
2014-08-19 17:34:38 -04:00
Jason Myers
c3791463a5 Fixing E302 Errors
Signed-off-by: Jason Myers <jason@jasonamyers.com>
2013-11-02 23:48:47 -05:00
Aymeric Augustin
cb86f707a0 Fixed -- Made reason phrases customizable. 2013-05-19 13:14:54 +02:00