Open mardiros opened 2 years ago
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().
Do a DELETE request. Similar to get().
But actually, the parameter params of get() create a querystring.
params
get()
And params in DELETE create an url encode version of the parameter in a body.
DELETE
so it behave more like post() than get()
post()
Describe the improvement
As an improvement, actually, a breaking change should be made, where params should act like get()
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
ofget()
create a querystring.And
params
inDELETE
create an url encode version of the parameter in a body.so it behave more like
post()
thanget()
Describe the improvement
As an improvement, actually, a breaking change should be made, where params should act like
get()