Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

DELETE params does not behave like GET #243

Open
mardiros opened this issue Feb 4, 2022 · 0 comments
Open

DELETE params does not behave like GET #243

mardiros opened this issue Feb 4, 2022 · 0 comments

Comments

@mardiros
Copy link

mardiros commented Feb 4, 2022

Documentation Suggestion

https://docs.pylonsproject.org/projects/webtest/en/latest/api.html#webtest.app.TestApp.delete

The doc says that Do a DELETE request. Similar to get().

But actually, the parameter params of get() create a querystring.

And params in DELETE create an url encode version of the parameter in a body.

so it behave more like post() than get()

Describe the improvement

As an improvement, actually, a breaking change should be made, where params should act like get()

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant