Whitespace normalization.

This commit is contained in:
Tim Peters 2006-06-09 17:47:00 +00:00
parent c48b0e6657
commit 982c30b861
5 changed files with 3 additions and 81 deletions

View file

@ -473,20 +473,3 @@ class CGIHandler(BaseCGIHandler):
self, sys.stdin, sys.stdout, sys.stderr, dict(os.environ.items()),
multithread=False, multiprocess=True
)

View file

@ -187,19 +187,3 @@ class Headers:
else:
parts.append(_formatparam(k.replace('_', '-'), v))
self._headers.append((_name, "; ".join(parts)))

View file

@ -191,15 +191,3 @@ if __name__ == '__main__':
import webbrowser
webbrowser.open('http://localhost:8000/xyz?abc')
httpd.handle_request() # serve one request, then exit

View file

@ -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())

View file

@ -426,4 +426,3 @@ def check_iterator(iterator):
assert not isinstance(iterator, str), (
"You should not return a string as your application iterator, "
"instead return a single-item list containing that string.")