(self)
| 340 | self.data = None |
| 341 | |
| 342 | def _parse(self): |
| 343 | self.type, rest = _splittype(self._full_url) |
| 344 | if self.type is None: |
| 345 | raise ValueError("unknown url type: %r" % self.full_url) |
| 346 | self.host, self.selector = _splithost(rest) |
| 347 | if self.host: |
| 348 | self.host = unquote(self.host) |
| 349 | |
| 350 | def get_method(self): |
| 351 | """Return a string indicating the HTTP request method.""" |
no test coverage detected