4 ms·
With the first format you can use the same name more than once: /rdio/api/1/artist/1/tracks/2/artist/1 I'm pretty sure the ordering of query parameters is
by stevelosh 16y ago
With the first format you can use the same name more than once:
/rdio/api/1/artist/1/tracks/2/artist/1
I'm pretty sure the ordering of query parameters isn't a part of the HTTP spec.
I just did a quick check and Django, for example, will just take the second of any duplicated GET params.
- regularfry 16y agoOrdering of query parameters is a W3C recommendation: http://www.w3.org/TR/REC-html40/interact/forms.html#form-content-type If Django's ignoring repeated form fields, it's Doing It Wrong.