MCPcopy Create free account
hub / github.com/RT-Thread/env-windows / _parse

Method _parse

tools/python-3.11.9-amd64/Lib/urllib/request.py:374–380  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

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."""

Callers 15

full_urlMethod · 0.95
_call_parseMethod · 0.45
_skipIgnorablesMethod · 0.45
try_parseMethod · 0.45
parse_stringMethod · 0.45
parseImplMethod · 0.45
parseImplMethod · 0.45
parseImplMethod · 0.45
parseImplMethod · 0.45
parseImplMethod · 0.45
parseImplMethod · 0.45
parseImplMethod · 0.45

Calls 3

_splittypeFunction · 0.90
_splithostFunction · 0.90
unquoteFunction · 0.90

Tested by

no test coverage detected