(self)
| 372 | self.data = None |
| 373 | |
| 374 | def _parse(self): |
| 375 | self.type, rest = _splittype(self._full_url) |
| 376 | if self.type is None: |
| 377 | raise ValueError("unknown url type: %r" % self.full_url) |
| 378 | self.host, self.selector = _splithost(rest) |
| 379 | if self.host: |
| 380 | self.host = unquote(self.host) |
| 381 | |
| 382 | def get_method(self): |
| 383 | """Return a string indicating the HTTP request method.""" |
no test coverage detected