2 ms·
The RFC begs to differ :) http://www.w3.org/Protocols/rfc2616/rfc2616-sec9.html http://www.w3.org/Protocols/rfc2616/rfc2616-sec9.html "If a resource has been
by mjw 16y ago
The RFC begs to differ :)
http://www.w3.org/Protocols/rfc2616/rfc2616-sec9.html http://www.w3.org/Protocols/rfc2616/rfc2616-sec9.html
"If a resource has been created on the origin server, the response SHOULD be 201 (Created) and contain an entity which describes the status of the request and refers to the new resource, and a Location header (see section 14.30)."
- piotrSikora 16y agoErm... I stand corrected, you're right. I think I was confused by the description under section 14.30 (http://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html#sec14.30 http://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html#sec14...).
- mjw 16y agoNo worries. Some of those HTTP RFCs are pretty crufty - there is a cleanup project in the works apparently: http://datatracker.ietf.org/wg/httpbis/charter/ http://datatracker.ietf.org/wg/httpbis/charter/