Make any necessary header changes or defaults Subclasses can extend this to add other defaults.
(self)
| 216 | |
| 217 | |
| 218 | def cleanup_headers(self): |
| 219 | """Make any necessary header changes or defaults |
| 220 | |
| 221 | Subclasses can extend this to add other defaults. |
| 222 | """ |
| 223 | if 'Content-Length' not in self.headers: |
| 224 | self.set_content_length() |
| 225 | |
| 226 | def start_response(self, status, headers,exc_info=None): |
| 227 | """'start_response()' callable as specified by PEP 3333""" |
no test coverage detected