(self)
| 1697 | class RaiseWithReasonTest(SimpleHandlerTestCase): |
| 1698 | class Handler(RequestHandler): |
| 1699 | def get(self): |
| 1700 | raise HTTPError(682, reason="Foo") |
| 1701 | |
| 1702 | def get_http_client(self): |
| 1703 | # simple_httpclient only: curl doesn't expose the reason string |