-
-
Notifications
You must be signed in to change notification settings - Fork 2k
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
Reading multipart form data with text fields #3619
Comments
GitMate.io thinks the contributor most likely able to help you is @asvetlov. Possibly related issues are #3034 (Multipart file form data with name), #903 (How to pass array to form data (multipart/form-data)), #304 (multipart tests), #880 (MultipartReader does not support multipart data with a preamble), and #490 (Don't work "multipart/form-data" file upload.). |
When you're reading a file using multipart reader you most likely referenced that file by name. That's how multipart work AFAIR, you're labelling parts in entire multipart. The text fields ought have the names as well. Given you used |
Thanks a lot for the solution . I had to manually traverse all the parts to extract them out from the request . My problem is solved . :) |
Just so you know, using I'd assume that @asvetlov or someone else from core team might be able to shed more light here, if you're interested of course :) |
Thanks for the heads up. :) I did notice sluginess when I was looking through the fields containing larger files. I'm using async for for this purpose. |
I was able to read a file using multipart reader. How do I extract text fields? I am lost. An example would be really helpful.
The text was updated successfully, but these errors were encountered: