djangorestframework-camel-case icon indicating copy to clipboard operation
djangorestframework-camel-case copied to clipboard

CamelCaseMultiPartParser does not care about multiple file uploads

Open atnartur opened this issue 5 years ago • 8 comments

When I try to upload multiple files in the same key of request body underscoreize function replace all files with the last one.

atnartur avatar Jul 23 '19 15:07 atnartur

@atnartur can you create a test case showing this?

vbabiy avatar Sep 10 '19 00:09 vbabiy

I'm trying to reproduce this bug. When I finish it I attach the link on repo

atnartur avatar Sep 11 '19 12:09 atnartur

Have the same issue

phanhuudinh avatar Oct 09 '19 03:10 phanhuudinh

Can confirm. Same issue here

ghost avatar Oct 30 '19 12:10 ghost

@vbabiy , what about this bug? Could we hope for resolving it issue?

AndrewBorisenko avatar Jan 29 '20 14:01 AndrewBorisenko

@AndrewBorisenko I am not sure if I will have time soon, but PRs are welcome.

vbabiy avatar Jan 29 '20 16:01 vbabiy

@vbabiy If you would have some free time - check my pull request for resolving it issue https://github.com/vbabiy/djangorestframework-camel-case/pull/77

AndrewBorisenko avatar Jan 30 '20 15:01 AndrewBorisenko

Try to use PUT instead of POST method in my case it helped.

krzysieqq avatar Sep 20 '21 12:09 krzysieqq