[whatwg] New URL Standard

Glenn Maynard glenn at zewt.org
Tue Sep 25 19:13:35 PDT 2012


On Tue, Sep 25, 2012 at 8:36 PM, Boris Zbarsky <bzbarsky at mit.edu> wrote:

> On 9/25/12 6:53 PM, Glenn Maynard wrote:
>
>> (Of course, a separate method could exist to get access to the underlying
>> order, if and when real use cases turn up that actually need it, and it's
>> not unlikely that there are use cases--but so far they haven't been
>> raised.
>>
>
> The obvious use case is constructing a URI with a given query by hand,
> right?
>

If you already have the "a=1&b=2" string, you can just assign it to .search
and not use the prepared-query-parameters interface at all.

-- 
Glenn Maynard



More information about the whatwg mailing list