Commit 0a47646f authored by Denis Bilenko's avatar Denis Bilenko

insert a few whitespaces where appropriate

parent 784f303c
......@@ -686,19 +686,20 @@ class HTTPRequest(urllib2.Request):
class ChunkedInputTests(TestCase):
dirt = ""
validator = None
def application(self, env, start_response):
input = env['wsgi.input']
response = []
pi = env["PATH_INFO"]
if pi=="/short-read":
d=input.read(10)
if pi == "/short-read":
d = input.read(10)
response = [d]
elif pi=="/lines":
elif pi == "/lines":
for x in input:
response.append(x)
elif pi=="/ping":
elif pi == "/ping":
input.read()
response.append("pong")
else:
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment