-
Notifications
You must be signed in to change notification settings - Fork 2.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
TypeError: HEAD or GET Request cannot have a body. #402
Comments
HEAD or GET requests should never have a body. Be sure you give |
@jeffhuys Surely there should be an override for this? We don't always control the APIs we talk to, especially if they are written by another company. It seems extremely patronising to actively prevent people doing this. |
Stating that a GET request should never have a body is not in the HTTP spec. https://tools.ietf.org/html/rfc7231#section-4.3.1 Elasticache is the primary example of an api that uses bodies in GET requests. |
should HEAD or GET can not add a body ?
The text was updated successfully, but these errors were encountered: