Marcus Comstedt (ACROSS) (Hail Ilpalazzo!) @ Pike (-) developers forum wrote:
Which "parameters" are you referring to? Query encoding/decoding is already in Standards.URI. Header encoding/decoding exists in Protocols.HTTP.Query, although the decoding functions doesn't seem to be callable on its own...
Well, if they're there somewhere, I'd gladly make them callable.
I'm referring to the encoding and decoding of lines like:
Sec-WebSocket-Extensions: permessage-deflate; client_max_window_bits; server_max_window_bits=10, permessage-deflate; client_max_window_bits
Or
Forwarded: for=1.2.3.4;host="foo.b a;r",for=5.6.7.8,for=9.10.11.12;host=bar.foo
It's needed at various spots internally in the Pike libs, and now I need it externally too (to handle forwarded requests in my mini-http server).