MCPcopy
hub / github.com/encode/httpx / unquote

Function unquote

httpx/_utils.py:91–92  ·  view source on GitHub ↗
(value: str)

Source from the content-addressed store, hash-verified

89
90
91def unquote(value: str) -> str:
92 return value[1:-1] if value[0] == value[-1] == '"' else value
93
94
95def peek_filelike_length(stream: typing.Any) -> int | None:

Callers 5

_parse_challengeMethod · 0.85
usernameMethod · 0.85
passwordMethod · 0.85
pathMethod · 0.85
fragmentMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected