You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Oct 1, 2018. It is now read-only.
Specifying a request HTTP message body for a GET request does not violate HTTP1.1. See here and also here.
Also Fielding's comment seems to be spot on. Personally I know of at least one API (GitHub) that does process HTTP request message body even with the GET method (auth token sent in request message body).
Since this is not a violation of the HTTP spec and it is occasionally used I would vote for not introducing this behavior.
Regarding warnings I have learned that there are generally two groups of people: Those who don't care about them at all and those who take even the smallest warning very seriously. The later group seems to be a lot bigger (read: louder).
I am against adding a warning as long as it's not violating HTTP spec. @zdne Please decide if we are going to tag this as improvement or close this issue.
With
GET
, there should be no request body.When it's specified in blueprint, snowcrash should warn or err.
The text was updated successfully, but these errors were encountered: