[erlang-questions] url query string encode/decode
Fri Dec 15 12:39:10 CET 2017
On 15 December 2017 at 10:55, Caragea Silviu <silviu.cpp@REDACTED> wrote:
> Seems parsing of lists is not compliant.
There's no standard to be "compliant" with. Everyone pretty much
agrees on key-value pairs where the keys are unique. Beyond that, who
knows? I've seen ?a=1&a=2&a=3 and ?a=1&a=2&a=3, for instance.
See, e.g., https://stackoverflow.com/q/24059773/8446.
fwiw, I tend to build my URLs with hackney_url. I don't know what it
does with repeated keys; I've never tried.
More information about the erlang-questions