Closed FlorianLoch closed 1 year ago
Closes #72.
Although it is not common for GET requests to have a request body, it should be considered permissible.
LGTM
Although it is not common for GET requests to have a request body, it should be considered permissible.
Alright, then the currently suggested implementation should match that. Just double checked, should be fine.
Just noticed the help string of the body
parameters was a little hard to read - added a commit suggesting an improvement. For ease of workflow I simply (ab)used this PR for it ;)
I am not sure checking whether
method
has actually been set might be too much - usingGET
with a body probably never makes sense, so one could probably also set it toPOST
even ifGET
has been set explicitly? 🤔On the other hand, this also covers the case of a user explicitly using another, legit, method.