-
Notifications
You must be signed in to change notification settings - Fork 40
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Multipart Request #53
Comments
The way it is currently implemented, How are you including a file inside of a Marshmallow schema? Or do you just mean that a file is part of the request, perhaps like in the example here? |
Yes, exactly like in this example(the file is a part of a POST request) and the marshmallow schema consists of a |
Yes this looks on track, just verify that |
Also be aware any PR will need associated test cases |
Currently, only
content-type:json
is supported in @accepts as per code here.In my use-case, request schema has a file and other form parameters. Since flask keeps that data in
request.values
andrequest.form
attributes it is currently not configurable.My suggestion for this is to check the headers and parse the parameters accordingly. Please let me know If there is another way to get around it or this can be the right direction going forward. And If it is, I can pitch in to create a PR for it.
The text was updated successfully, but these errors were encountered: