aboutsummaryrefslogtreecommitdiffstats
path: root/netlib/http/semantics.py
diff options
context:
space:
mode:
Diffstat (limited to 'netlib/http/semantics.py')
-rw-r--r--netlib/http/semantics.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/netlib/http/semantics.py b/netlib/http/semantics.py
index 5b7fb80f..836af550 100644
--- a/netlib/http/semantics.py
+++ b/netlib/http/semantics.py
@@ -397,7 +397,8 @@ class Response(object):
size = utils.pretty_size(len(self.body))
else:
size = "content missing"
- return "<HTTPResponse: {status_code} {msg} ({contenttype}, {size})>".format(
+ # TODO: Remove "(unknown content type, content missing)" edge-case
+ return "<Response: {status_code} {msg} ({contenttype}, {size})>".format(
status_code=self.status_code,
msg=self.msg,
contenttype=self.headers.get_first(