(x)
| 347 | encoding='utf-8'): |
| 348 | # Convert to unicode using encoding if given, else assume unicode |
| 349 | def encode(x): |
| 350 | return to_unicode(x, encoding) if encoding else x |
| 351 | |
| 352 | self.uri = encode(uri) |
| 353 | self.http_method = encode(http_method) |
no test coverage detected