summary refs log tree commit diff
path: root/tests/api/test_auth.py (unfollow)
Commit message (Collapse)AuthorFilesLines
2018-10-02Fix error when logging incomplete requestsErik Johnston1-6/+21
If a connection is lost before a request is read from Request, Twisted sets `method` (and `uri`) attributes to dummy values. These dummy values have incorrect types (i.e. they're not bytes), and so things like `__repr__` would raise an exception. To fix this we had a helper method to return the method with a consistent type.
2018-10-01Avoid reraise, to improve stacktracesRichard van der Hoff3-2