aboutsummaryrefslogtreecommitdiffstats
path: root/netlib/http/request.py
diff options
context:
space:
mode:
Diffstat (limited to 'netlib/http/request.py')
-rw-r--r--netlib/http/request.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/netlib/http/request.py b/netlib/http/request.py
index 92d99532..5ebf21a5 100644
--- a/netlib/http/request.py
+++ b/netlib/http/request.py
@@ -92,6 +92,8 @@ class Request(Message):
Target host. This may be parsed from the raw request
(e.g. from a ``GET http://example.com/ HTTP/1.1`` request line)
or inferred from the proxy mode (e.g. an IP in transparent mode).
+
+ Setting the host attribute also updates the host header, if present.
"""
if six.PY2: # pragma: nocover