Commit 6f1aef6d authored by 's avatar

Merged fix for bug 925

parent c6d0e5c9
......@@ -170,7 +170,7 @@ class ZServerHTTPResponse(HTTPResponse):
status=headers.get('status', '200 OK')
# status header must come first.
append("HTTP/%s %s" % (self._http_version, status))
append("HTTP/%s %s" % (self._http_version or '1.0' , status))
if headers.has_key('status'):
del headers['status']
......
......@@ -170,7 +170,7 @@ class ZServerHTTPResponse(HTTPResponse):
status=headers.get('status', '200 OK')
# status header must come first.
append("HTTP/%s %s" % (self._http_version, status))
append("HTTP/%s %s" % (self._http_version or '1.0' , status))
if headers.has_key('status'):
del headers['status']
......
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