Commit bc85dc14 authored by Denis Bilenko's avatar Denis Bilenko

remove unnecessary empty lines

parent 0c2d0ceb
......@@ -131,7 +131,6 @@ class Input(object):
yield line
class HttpProtocol(BaseHTTPServer.BaseHTTPRequestHandler):
protocol_version = 'HTTP/1.1'
......@@ -239,7 +238,6 @@ class HttpProtocol(BaseHTTPServer.BaseHTTPRequestHandler):
if not self.headers_sent and hasattr(result, '__len__') and 'Content-Length' not in self.response_headers_list:
self.response_headers.append(('Content-Length', str(sum(map(len, result)))))
self.response_headers_list.append('Content-Length')
for data in result:
if data:
self.write(data)
......
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