HTTPResponse.__repr__ errors when Content-Type header is not defined
As reported 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 (StackOverflow).
PR
Change History
(5)
| Description: |
modified (diff)
|
| Triage Stage: |
Unreviewed → Accepted
|
| Owner: |
changed from nobody to roboslone
|
| Status: |
new → assigned
|
| Description: |
modified (diff)
|
| Has patch: |
set
|
| Triage Stage: |
Accepted → Ready for checkin
|
| Resolution: |
→ fixed
|
| Status: |
assigned → closed
|
In 544b2ef2: