Open daniel-white opened 1 year ago
The warnings are not repeated here because the signal might occur anyway, and is dealt with accordingly. Messages need to be parsed based on these rules, so if the message indicates it has a body then it will be parsed as containing a body, even if that doesn't match the method semantics (which are enforced elsewhere).
I think theres a bit of an open loop hole in section 6 of http 1.1. #906 added the
SHOULD NOT
language to discourage the use of request bodies for get/head/delete methods. Section 6 states:Should the warnings be replicated or linked to here to reduce any confusion?