def unquote

emerging-ezhttp@0.21.0.0 · main.bend:37

import emerging-ezhttp@0.21.0.0/main.bend as EmergingEzhttp
import Base
import emerging-ezhttp@0.21.0.0/src/qs.bend as Qs

37# percent-decode a string as urllib.parse.unquote: %XX escapes (either case)
38# become bytes, decoded as UTF-8 with U+FFFD for bytes that are not; an escape
39# that is not two hex digits is kept as written, and characters outside ASCII
40# are kept (SPEC.md HTTP-QS)
41def unquote(text: String) -> String:  # noqa: L001 re-export of Qs.unquote
42  Qs.unquote(text)

Uses (2)

Used by (0)

No other definition uses this definition.