(self, key, failobj=None)
| 1333 | # in order to test the _send_traceback_header flag on the server |
| 1334 | class FailingMessageClass(http.client.HTTPMessage): |
| 1335 | def get(self, key, failobj=None): |
| 1336 | key = key.lower() |
| 1337 | if key == 'content-length': |
| 1338 | return 'I am broken' |
| 1339 | return super().get(key, failobj) |
| 1340 | |
| 1341 | |
| 1342 | class FailingServerTestCase(unittest.TestCase): |
no test coverage detected