Skip to content

multiple request.args should reach the endpoint (?a=1&a=2 => a=[1,2]) #10

@llonchj

Description

@llonchj

When calling something like /delete/project?version=1&version=2, version parameter is 1 and 2 is omitted.

@route("/<pk>", Http.DELETE)
def delete(self, request, pk, version=None, **kwargs):
    #version is 1 and should be a [1, 2]
    pass

Does this make any sense?

I have fixed this in llonchj/corepost@bee483e but need some help with the freshen tests. Please, can you write one for me?

P.S. I will pull request the branch when tests are written

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions