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): ...@@ -686,19 +686,20 @@ class HTTPRequest(urllib2.Request):
class ChunkedInputTests(TestCase): class ChunkedInputTests(TestCase):
dirt = "" dirt = ""
validator = None validator = None
def application(self, env, start_response): def application(self, env, start_response):
input = env['wsgi.input'] input = env['wsgi.input']
response = [] response = []
pi = env["PATH_INFO"] pi = env["PATH_INFO"]
if pi=="/short-read": if pi == "/short-read":
d=input.read(10) d = input.read(10)
response = [d] response = [d]
elif pi=="/lines": elif pi == "/lines":
for x in input: for x in input:
response.append(x) response.append(x)
elif pi=="/ping": elif pi == "/ping":
input.read() input.read()
response.append("pong") response.append("pong")
else: 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