W3C home > Mailing lists > Public > public-webapps@w3.org > July to September 2010

Re: A URL API

From: Garrett Smith <dhtmlkitchen@gmail.com>
Date: Mon, 20 Sep 2010 11:02:38 -0700
Message-ID: <AANLkTikv=byYJkQmroTq4_F8=igyC0aX+jW0uCJKbVX2@mail.gmail.com>
To: Julian Reschke <julian.reschke@gmx.de>
Cc: Adam Barth <w3c@adambarth.com>, Devdatta Akhawe <dev.akhawe@gmail.com>, WebApps WG <public-webapps@w3.org>
On 9/20/10, Julian Reschke <julian.reschke@gmx.de> wrote:
> On 20.09.2010 18:56, Garrett Smith wrote:
[...]
>> Requests that don't have lot of parameters are often simple one-liners:
>>
>> url = "/getShipping/?zip=" + zip + "&pid=" + pid;
>
> That's exactly the kind of code that will fail once "pid" and "zip"
> contain things you don't expecz.
>
>> What XHRs have complicated URL with a lot of query parameters?
>
> What XHRs?
>
IOW, what are the cases where an XHR instance wants to use a lot o query params?

Garrett
Received on Monday, 20 September 2010 18:03:10 GMT

This archive was generated by hypermail 2.3.1 : Tuesday, 26 March 2013 18:49:40 GMT