[Zope3-dev] DISCUSS: Correct sequence for PUT
Jim Fulton
jim@zope.com
Thu, 27 Feb 2003 08:59:58 -0500
Paul Everitt wrote:
>
...
> 2) I'm not sure Zope 3 is doing the PUT correctly. I did a PUT of a new
> resource, and RFC 2616 (HTTP/1.1) Section 9.6 says that a status code of
> 201 should be returned. Also, the server should return a Location:
> header with the URI of the newly created resource.
>
> Perhaps I'm reading 9.6 incorrectly?
I don't see any mention of setting a Location header in section 9.6.
I'm looking at RFC 2616, dated June 1999.
Jim
--
Jim Fulton mailto:jim@zope.com Python Powered!
CTO (888) 344-4332 http://www.python.org
Zope Corporation http://www.zope.com http://www.zope.org