> > We use simple byte conversion there because the String which is passed
here
> > (the query portion of the URL) is supposed to only have US-ASCII
characters.
> >
>
> it's also used to parse form data, right?  can form data have non
> US-ASCII characters?

No. Form data uses parseParameters(Map, byte[], String encoding) for that
reason.

If the thing was memory efficient, the url should still be in byte form at
this point, and we could directly use parseParameters(Map, byte[], String
encoding) for URL params too.

Remy

Reply via email to