Erik Johnston 334e075dd8 Fix error when logging incomplete requests
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-02 12:06:22 +01:00
..
2018-10-02 00:11:58 +10:00
2018-09-06 00:10:47 +10:00
2018-09-20 17:05:34 +01:00
2018-09-13 11:51:12 -06:00
2018-09-26 17:36:14 +01:00
2018-10-01 12:25:27 +01:00
2018-09-25 02:54:34 +10:00
2018-08-28 17:10:43 +01:00