On 10/06/2016 11:43 AM, Jeremy Stanley wrote:
On 2016-10-06 10:30:30 -0500 (-0500), Kevin L. Mitchell wrote:
[...]
Problem with that is that ':' is a valid character within an ISO date,
though I do like the 'between' prefix.  Now, '/' can be used if it's URL
encoded, but I agree that that is non-ideal.  How about a syntax
something like:

        
?finished_at=between:ISO_DATE_A@ISO_DATE_B&finished_at=between:ISO_DATE_C@ISO_DATE_D

I'll admit I'm not up on the intricacies of URL expectations for
APIs, but why not just use a comma? That's not an unusual meaning
for it as punctuation (at least in English), and has the property
that it's not overloading a typical field separator within either
8601 or HTTP encodings. (Now I've fulfilled my bikeshed quota for
the month.)

Yup, ++ on a comma.

-jay

__________________________________________________________________________
OpenStack Development Mailing List (not for usage questions)
Unsubscribe: [email protected]?subject:unsubscribe
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev

Reply via email to