ID EN
Urllib Parse

quote_from_bytes

Python 3.11

Like quote(), but accepts a bytes object rather than a str, and does not perform string-to-bytes encoding.

Syntax

PYTHON
urllib.parse.quote_from_bytes(bytes, safe='/')

See Also

quote() bytes str