Changes between Initial Version and Version 1 of Ticket #27640


Ignore:
Timestamp:
Dec 26, 2016, 7:07:02 AM (8 years ago)
Author:
Tim Graham
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #27640

    • Property Triage Stage UnreviewedAccepted
  • Ticket #27640 – Description

    initial v1  
    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]).
     1As 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]).
Back to Top