EmergingEzhttp.quote_path: def of emerging-ezhttp@0.21.0.0 Import: import emerging-ezhttp@0.21.0.0/main.bend as EmergingEzhttp Lines 26-30 of emerging-ezhttp@0.21.0.0/main.bend: https://jend.leeeet.dev/read.txt?path=emerging-ezhttp@0.21.0.0/main.bend&start_line=26&end_line=30 import Base import emerging-ezhttp@0.21.0.0/src/pct.bend as Pct # percent-encode a path (RFC 3986 ยง2.1), as Python's urllib.parse.quote(text): # unreserved characters and "/" stay, every other character becomes %XX per # UTF-8 byte, upper-case hex (SPEC.md HTTP-URL) def quote_path(text: String) -> String: # noqa: L001 re-export of Pct.quote (the path form) Pct.quote(True{}, text) Uses (3): https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Bool https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=String https://jend.leeeet.dev/definition.txt?path=emerging-ezhttp@0.21.0.0/src/pct.bend&name=quote