Expand description
Percent-encoding (RFC 3986, section 2.1), with uppercase digits as it recommends.
Functionsยง
- decode
+stays+, as in a path.Nonewhen a%is not followed by two hex digits.- decode_
form +is a space, as in a form.Nonewhen a%is not followed by two hex digits.- encode
- form
application/x-www-form-urlencoded(WHATWG URL, section 5.2):name=valuepairs joined by&.- is_
unreserved - RFC 3986, section 2.3: the bytes that never need escaping.
- push_
encoded - Every byte
keeprefuses as%XX; bytes outside ASCII always are. - push_
form_ encoded - One form name or value: a space as
+, and only*-._kept beside letters and digits.