Module Http.Pct
Percent-encoding codec.
Codecs percent-encoding according to RFC 3986.
Note. This should not be used for URI query strings and application/x-www-form-urlencoded
which is slightly different. The Query
module handle that.
val encode : string -> string
encode s
is the percent-encoding ofs
.TODO. Make that more subtle for now we percent-encode what is not percent-encoded
pchar
in RFC 3986.