##// END OF EJS Templates
hgweb: insist http_status value is a sysstr...
Augie Fackler -
r38317:af0e88e6 default
parent child Browse files
Show More
@@ -215,6 +215,7 b' class _httprequesthandler(httpservermod.'
215 self.sent_headers = True
215 self.sent_headers = True
216
216
217 def _start_response(self, http_status, headers, exc_info=None):
217 def _start_response(self, http_status, headers, exc_info=None):
218 assert isinstance(http_status, str)
218 code, msg = http_status.split(None, 1)
219 code, msg = http_status.split(None, 1)
219 code = int(code)
220 code = int(code)
220 self.saved_status = http_status
221 self.saved_status = http_status
General Comments 0
You need to be logged in to leave comments. Login now