summaryrefslogtreecommitdiffstats
path: root/Lib/httplib.py
diff options
context:
space:
mode:
authorTim Peters <tim.peters@gmail.com>2004-01-18 20:29:55 (GMT)
committerTim Peters <tim.peters@gmail.com>2004-01-18 20:29:55 (GMT)
commit58eb11cf62dd04ccc2c364b62fd51b4265e2e203 (patch)
tree6b4639f640391b3d40332ee045dba325c63a920d /Lib/httplib.py
parent5303a968080bdb2690eaab89495ae51939fa6397 (diff)
downloadcpython-58eb11cf62dd04ccc2c364b62fd51b4265e2e203.zip
cpython-58eb11cf62dd04ccc2c364b62fd51b4265e2e203.tar.gz
cpython-58eb11cf62dd04ccc2c364b62fd51b4265e2e203.tar.bz2
Whitespace normalization.
Diffstat (limited to 'Lib/httplib.py')
-rw-r--r--Lib/httplib.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/Lib/httplib.py b/Lib/httplib.py
index 0dfea33..a23caf5 100644
--- a/Lib/httplib.py
+++ b/Lib/httplib.py
@@ -610,7 +610,7 @@ class HTTPConnection:
if self.__response and self.__response.isclosed():
self.__response = None
-
+
# in certain cases, we cannot issue another request on this connection.
# this occurs when:
# 1) we are in the process of sending a request. (_CS_REQ_STARTED)
@@ -731,7 +731,7 @@ class HTTPConnection:
# If headers already contains a host header, then define the
# optional skip_host argument to putrequest(). The check is
# harder because field names are case insensitive.
- if 'host' in [k.lower() for k in headers]:
+ if 'host' in [k.lower() for k in headers]:
self.putrequest(method, url, skip_host=1)
else:
self.putrequest(method, url)