users@jersey.java.net

Re: Adding a resource - HTTP POST

From: Paul Sandoz <Paul.Sandoz_at_Sun.COM>
Date: Wed, 24 Oct 2007 10:33:36 +0200

Nam Nguyen wrote:
> If the most commonly expected response for POST is 'Created' why can't
> we make it the default response without requiring an explicit Response
> return value?
>

The Location header field (and maybe the Content-Location header field)
should also be returned with a 201 response.

Paul.

-- 
| ? + ? = To question
----------------\
    Paul Sandoz
         x38109
+33-4-76188109