##// END OF EJS Templates
serve: send response headers even if response has no body...
Mads Kiilerich -
r18349:c007e5c5 default
parent child Browse files
Show More
@@ -136,6 +136,8 b' class _httprequesthandler(BaseHTTPServer'
136 self.length = None
136 self.length = None
137 for chunk in self.server.application(env, self._start_response):
137 for chunk in self.server.application(env, self._start_response):
138 self._write(chunk)
138 self._write(chunk)
139 if not self.sent_headers:
140 self.send_headers()
139
141
140 def send_headers(self):
142 def send_headers(self):
141 if not self.saved_status:
143 if not self.saved_status:
General Comments 0
You need to be logged in to leave comments. Login now