Status code questions

Hi All,

Two questions wrt the usage of status codes with certain methods:

1: Can a server return 301/302/307 in response to a DELETE?
(I've previously assumed "no" as moved would indicate no longer present, 
nothing to delete) - but still unsure.

2: According to rule 2 of [1] ""If the response status code is 204, 206, 
or 304 and the request method was GET or HEAD"" - I'm wondering, under 
what circumstances would you ever use GET or HEAD with 204 No Content?

Many thanks in advance,

Nathan

[1] 
http://tools.ietf.org/html/draft-ietf-httpbis-p2-semantics-12#section-6.1

Received on Thursday, 20 January 2011 02:12:52 UTC