[Catalyst] Re: REST - like uri design for CRUD

Len Jaffe lenjaffe at jaffesystems.com
Mon Jan 28 01:59:25 GMT 2008


On Jan 27, 2008 5:55 AM, Aristotle Pagaltzis <pagaltzis at gmx.de> wrote:

>
> For them, the best approach is to return 201 Created instead of a
> redirect =96 the URI of the new resource still goes in the Location
> header with 201. Then you render the item into the request body
> and set Content-Location equal to Location. That's a strong
> assertion that the body is the same representation that the
> client would GET from the URI in the Location header, so
> sufficiently savvy clients won't bother requesting it.
>

Are FF & IE smart enough to not re-POST if I send the results with A 201
instead of redirecting to a GET?

Len


lenjaffe at jaffesystems.com
614-404-4214
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.scsys.co.uk/pipermail/catalyst/attachments/20080127/1bafb=
cd5/attachment.htm


More information about the Catalyst mailing list