Darshit Shah <dar...@gmail.com> writes: > While DELETE *may* be redirected, the document did not mention > anything explicitly about it. From what I gauge, we should not suspend > a DELETE command upon a redirect.
We suspend the post data only when we receive a 307, or do you mean we shouldn't suspend in this case too? > Also, this reminds me, when a user specifies --method HEAD, that > implies s/he wishes to see the Response provided by the server and > hence in this case the headers should be printed in ALL outputs > (quiet, verbose and debug). Same with TRACE/OPTIONS commands since > these are primarily used when the user wishes to view the Response > generated. The --method patch has opened a can of worms and now we have to consider literally any HTTP method and how it make more sense for the users. I think that very few people are going to abuse --method with TRACE/OPTIONS and we can consider these cases later, if they really hurt someone. On the other hand, it will be nice to handle separately HEAD. -- Giuseppe