Skip to content

DELETE params does not behave like GET #243

@mardiros

Description

@mardiros

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()

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions