Couldn't this mess up caching?

Jim

PS - Query params should be considered part of a URI, I dislike that RFC2616 
says dumb things about them.

On 21 Apr 2010, at 13:18, [email protected] wrote:

>   The better approach is to use an optional request parameter (which
>   is unlikely to conflict with "real" request parameters) that provides
>   the necessary value(s) that the headers provide, which is analogous to
>   the mechanism used by most REST APIs to allow browsers to do PUT,
>   DELETE, etc...
> 
> 
> 
>   e.g.
> 
> 
> 
>   someURL?_acceptHeaders=text/xml;application/thingworx;bloodtype/apos
> 
> 
> 
> 
> 
> 
> 
> 
> 
>   -------- Original Message --------
>   Subject: Re: [Neo] Conneg in REST API
>   From: Jim Webber <[email protected]>
>   Date: Wed, April 21, 2010 7:00 am
>   To: Neo user discussions <[email protected]>
>   Hey Peter,
>   If we really want to cater for non-compliant browsers, then we can
>   dispatch on user-agent, using the same XHTML code that exists today.
>   Jim
>   On 21 Apr 2010, at 11:18, Peter Neubauer wrote:
>> Yeah,
>> this is good, except that some browsers, e.g. IE, don't provide these
>> headers and thus f... up all that nice thinking. Any idea how to cope
>> with that?
>> 
>> 
>   [1]http://www.newmediacampaigns.com/page/browser-rest-http-accept-heade
>   rs
>> 
>> Cheers,
>> 
>> /peter neubauer
>> 
>> COO and Sales, Neo Technology
>> 
>> GTalk: neubauer.peter
>> Skype peter.neubauer
>> Phone +46 704 106975
>> LinkedIn [2]http://www.linkedin.com/in/neubauer
>> Twitter [3]http://twitter.com/peterneubauer
>> 
>> [4]http://www.neo4j.org - Your high performance graph database.
>> [5]http://nosqleu.com - The biggest NOSQL event. Ever.
>> [6]http://www.thoughtmade.com - Scandinavias coolest Bring-a-Thing
>   party.
>> 
>> 
>> On Wed, Apr 21, 2010 at 12:11 PM, Mattias Persson
>> <[email protected]> wrote:
>>> 
>>> You mean using the Content-Type/Accept headers? That's at least how
>   it's
>>> solved now with text/html and application/json living side to side
>   in the
>>> REST API today.
>>> 
>>> 2010/3/23 Jim Webber <[email protected]>
>>> 
>>>> Just another thought: if we're going to use multiple representation
>>>> formats, then we should use content negotiation.
>>>> 
>>>> Jim
>>>> _______________________________________________
>>>> Neo mailing list
>>>> [email protected]
>>>> [7]https://lists.neo4j.org/mailman/listinfo/user
>>>> 
>>> 
>>> 
>>> 
>>> --
>>> Mattias Persson, [[email protected]]
>>> Hacker, Neo Technology
>>> [8]www.neotechnology.com
>>> _______________________________________________
>>> Neo mailing list
>>> [email protected]
>>> [9]https://lists.neo4j.org/mailman/listinfo/user
>> _______________________________________________
>> Neo mailing list
>> [email protected]
>> [10]https://lists.neo4j.org/mailman/listinfo/user
>   _______________________________________________
>   Neo mailing list
>   [email protected]
>   [11]https://lists.neo4j.org/mailman/listinfo/user
> 
> References
> 
>   1. http://www.newmediacampaigns.com/page/browser-rest-http-accept-headers
>   2. http://www.linkedin.com/in/neubauer
>   3. http://twitter.com/peterneubauer
>   4. http://www.neo4j.org/
>   5. http://nosqleu.com/
>   6. http://www.thoughtmade.com/
>   7. https://lists.neo4j.org/mailman/listinfo/user
>   8. http://www.neotechnology.com/
>   9. https://lists.neo4j.org/mailman/listinfo/user
>  10. https://lists.neo4j.org/mailman/listinfo/user
>  11. https://lists.neo4j.org/mailman/listinfo/user
> _______________________________________________
> Neo mailing list
> [email protected]
> https://lists.neo4j.org/mailman/listinfo/user

_______________________________________________
Neo mailing list
[email protected]
https://lists.neo4j.org/mailman/listinfo/user

Reply via email to