summaryrefslogtreecommitdiffstats
path: root/Lib/wsgiref/util.py
diff options
context:
space:
mode:
authorTim Peters <tim.peters@gmail.com>2006-06-09 17:47:00 (GMT)
committerTim Peters <tim.peters@gmail.com>2006-06-09 17:47:00 (GMT)
commit982c30b861837b2a3dcadd1d839d1290910e93f7 (patch)
tree644d072468a6e0934f918e0fec71115dc62ee15f /Lib/wsgiref/util.py
parentc48b0e6657691be44a01415ee6654e37590980c2 (diff)
downloadcpython-982c30b861837b2a3dcadd1d839d1290910e93f7.zip
cpython-982c30b861837b2a3dcadd1d839d1290910e93f7.tar.gz
cpython-982c30b861837b2a3dcadd1d839d1290910e93f7.tar.bz2
Whitespace normalization.
Diffstat (limited to 'Lib/wsgiref/util.py')
-rw-r--r--Lib/wsgiref/util.py36
1 files changed, 2 insertions, 34 deletions
diff --git a/Lib/wsgiref/util.py b/Lib/wsgiref/util.py
index 78ebb3b..3a81030 100644
--- a/Lib/wsgiref/util.py
+++ b/Lib/wsgiref/util.py
@@ -59,10 +59,10 @@ def application_uri(environ):
if environ['wsgi.url_scheme'] == 'https':
if environ['SERVER_PORT'] != '443':
- url += ':' + environ['SERVER_PORT']
+ url += ':' + environ['SERVER_PORT']
else:
if environ['SERVER_PORT'] != '80':
- url += ':' + environ['SERVER_PORT']
+ url += ':' + environ['SERVER_PORT']
url += quote(environ.get('SCRIPT_NAME') or '/')
return url
@@ -171,35 +171,3 @@ _hoppish = {
def is_hop_by_hop(header_name):
"""Return true if 'header_name' is an HTTP/1.1 "Hop-by-Hop" header"""
return _hoppish(header_name.lower())
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-