Skip to content
This repository has been archived by the owner on Jan 21, 2020. It is now read-only.

File uploading with form-data not properly merge fields arrays names #91

Open
diego-sorribas opened this issue Oct 20, 2017 · 3 comments

Comments

@diego-sorribas
Copy link

When I send a PUT method with an array and under that same name I upload an image(file) is not merged with the array that I have normal data and same name.
Check my Failure test

@weierophinney @solcre

Thanks!

@weierophinney
Copy link
Member

@diego-sorribas Could you do the following, please:

  • Rewrite the test. Instead of adding setup and assertions to an existing test, create a new test method so we can isolate this particular behavior.
  • Once you've done so, please submit a pull request with that failing test.

At that point, I can start looking into it. Or you can. 😄

Thanks!

@diego-sorribas
Copy link
Author

Thanks, lesson learned. I already made the pull request, I hope it's good!

@weierophinney
Copy link
Member

This repository has been closed and moved to laminas-api-tools/api-tools-content-negotiation; a new issue has been opened at laminas-api-tools/api-tools-content-negotiation#2.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants