Skip to content

Request parser params error #8875

@lau-jay

Description

@lau-jay

Checklist

  • Raised initially as discussion #...
  • This cannot be dealt with as a third party library. (We prefer new functionality to be in the form of third party libraries where possible.)
  • I have reduced the issue to the simplest possible case.

for my request:
curl --data 'xx=30&id=100' localhost:8000/api/v1/xxx

using rest_framework.request.Request in middleware extract request data:
req = Request(request, parsers=[FormParser, MultiPartParser])

debuging by ipdb, i see this:

Screenshot 2023-02-15 at 18 11 24

I think this function call is not a problem, but his result I have no idea why

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