def quote_component

emerging-ezhttp@0.21.0.0 · main.bend:32

import emerging-ezhttp@0.21.0.0/main.bend as EmergingEzhttp
import Base
import emerging-ezhttp@0.21.0.0/src/pct.bend as Pct

32# percent-encode a path segment, query key or value (RFC 3986 §2.1), as
33# urllib.parse.quote(text, safe=""): like quote_path, but "/" becomes %2F
34def quote_component(text: String) -> String:  # noqa: L001 re-export of Pct.quote (the component form)
35  Pct.quote(False{}, text)

Uses (3)

Used by (0)

No other definition uses this definition.