We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Sorry if I missed something/did something wrong, but it seems that body isn't allowed in httr::DELETE() - e.g.,
body
httr::DELETE()
DELETE("https://httpbin.org/delete", body=list(a=5), verbose()) #> -> DELETE /delete HTTP/1.1 #> -> Host: httpbin.org #> -> User-Agent: libcurl/7.43.0 r-curl/0.9.5 httr/1.1.0 #> -> Accept-Encoding: gzip, deflate #> -> Accept: application/json, text/xml, application/xml, */* #> -> #> <- HTTP/1.1 200 OK #> <- Server: nginx #> <- Date: Thu, 28 Jan 2016 22:18:50 GMT #> <- Content-Type: application/json #> <- Content-Length: 367 #> <- Connection: keep-alive #> <- Access-Control-Allow-Origin: * #> <- Access-Control-Allow-Credentials: true #> <-
The spec https://www.w3.org/Protocols/rfc2616/rfc2616-sec9.html doesn't explicitly forbid or discourage its use in DELETE.
Would you be up for allowing body in delete?
The text was updated successfully, but these errors were encountered:
0fa3efc
No branches or pull requests
Sorry if I missed something/did something wrong, but it seems that
body
isn't allowed inhttr::DELETE()
- e.g.,The spec https://www.w3.org/Protocols/rfc2616/rfc2616-sec9.html doesn't explicitly forbid or discourage its use in DELETE.
Would you be up for allowing body in delete?
The text was updated successfully, but these errors were encountered: