summaryrefslogtreecommitdiffstats
path: root/Lib/wsgiref/util.py
diff options
context:
space:
mode:
authorTarek Ziadé <ziade.tarek@gmail.com>2010-02-23 06:00:04 (GMT)
committerTarek Ziadé <ziade.tarek@gmail.com>2010-02-23 06:00:04 (GMT)
commit8e615ae3bb6589993316fe960cdf6d710ad5aa66 (patch)
treec528f8c9816e8e4ca02a424665ab1077c7acade7 /Lib/wsgiref/util.py
parentc339978b1bbce8f3003f25e79ba0dc2f16c319cb (diff)
downloadcpython-8e615ae3bb6589993316fe960cdf6d710ad5aa66.zip
cpython-8e615ae3bb6589993316fe960cdf6d710ad5aa66.tar.gz
cpython-8e615ae3bb6589993316fe960cdf6d710ad5aa66.tar.bz2
Merged revisions 78367 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk ........ r78367 | tarek.ziade | 2010-02-23 00:53:05 -0500 (Tue, 23 Feb 2010) | 1 line fixed #5801: removed spurious empty lines in wsgiref ........
Diffstat (limited to 'Lib/wsgiref/util.py')
-rw-r--r--Lib/wsgiref/util.py40
1 files changed, 0 insertions, 40 deletions
diff --git a/Lib/wsgiref/util.py b/Lib/wsgiref/util.py
index 00d1f26..ae982f0 100644
--- a/Lib/wsgiref/util.py
+++ b/Lib/wsgiref/util.py
@@ -32,13 +32,6 @@ class FileWrapper:
return data
raise StopIteration
-
-
-
-
-
-
-
def guess_scheme(environ):
"""Return a guess for whether 'wsgi.url_scheme' should be 'http' or 'https'
"""
@@ -161,7 +154,6 @@ def setup_testing_defaults(environ):
-
_hoppish = {
'connection':1, 'keep-alive':1, 'proxy-authenticate':1,
'proxy-authorization':1, 'te':1, 'trailers':1, 'transfer-encoding':1,
@@ -171,35 +163,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())
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-#