Commit 7b9306bd authored by Denis Bilenko's avatar Denis Bilenko

wsgi: remove unnecessary send_reply() method from WSGIHandler class

parent d3f4105d
......@@ -60,10 +60,7 @@ class WSGIHandler(object):
if SERVER_SOFTWARE and not self.request.find_output_header('Server'):
self.request.add_output_header('Server', SERVER_SOFTWARE)
self.send_reply(self.code, self.reason, data)
def send_reply(self, code, reason, data):
self.request.send_reply(code, reason, data)
self.request.send_reply(self.code, self.reason, data)
self.log_request(len(data))
def format_request(self, length='-'):
......
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