Changes between Version 1 and Version 3 of Ticket #27640
- Timestamp:
- Dec 26, 2016, 10:33:01 PM (8 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #27640
- Property Owner changed from to
- Property Status new → assigned
- Property Has patch set
-
Ticket #27640 – Description
v1 v3 1 1 As reported [https://groups.google.com/forum/#!msg/django-developers/Dd-R-7YiQYQ/kM9PoQxiEQAJ on the mailing list], `HTTPResponse.__repr__` crashes when the Content-Type header is not defined. It's legitimate that it's not defined when there is no body, e.g. for HTTP 204 responses ([https://stackoverflow.com/questions/21029351/what-content-type-should-a-204-no-response-use StackOverflow]). 2 3 [https://github.com/django/django/pull/7746 PR]