Skip to content
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

Supporting PUT requests? #9

Closed
ItalyPaleAle opened this issue Mar 19, 2014 · 11 comments
Closed

Supporting PUT requests? #9

ItalyPaleAle opened this issue Mar 19, 2014 · 11 comments

Comments

@ItalyPaleAle
Copy link

In multer/Express 4 support for PUT requests has been removed. Multer should parse PUT requests as well as POST ones.

@nfroidure
Copy link

👍

1 similar comment
@gplancke
Copy link

👍

@hacksparrow
Copy link
Member

Thanks for bringing it to notice and fixing it guys!

@ItalyPaleAle
Copy link
Author

Thanks for the patch, but I'm not sure this is completely fixed!
Indeed, this keeps supporting only multipart/form-data encoded requests. PUT requests instead often have in the body just te contents!

@hacksparrow
Copy link
Member

I had originally intended Multer to handle ONLY multipart POST data, as there was no middleware to handle this specific data. Issue #17 also needs to be addressed. It's time to revise Multer.

@hacksparrow hacksparrow reopened this May 4, 2014
@ItalyPaleAle
Copy link
Author

Now that Express 4 is out, I think you should consider that. Issue #17 is one thing, but I would also add support for XML and JSON requests too, at this point.
Would it be ok with you if I investigated a patch? I may have some spare time mid next week, but no promises at all.

@hacksparrow
Copy link
Member

Feel free to work on a patch. However, the current most important task is
writing tests, it will help add new features and bug fixes without having
to fear regression issues. I am a little occupied, so not able to do much.

On Mon, May 5, 2014 at 3:48 AM, Alessandro notifications@github.com wrote:

Now that Express 4 is out, I think you should consider that. Issue #17https://github.com/expressjs/multer/issues/17is one thing, but I would also add support for XML and JSON requests too,
at this point.
Would it be ok with you if I investigated a patch? I may have some spare
time mid next week, but no promises at all.


Reply to this email directly or view it on GitHubhttps://github.com//issues/9#issuecomment-42147430
.

@hacksparrow
Copy link
Member

@EgoAleSum did you get a chance to work on it?

@ItalyPaleAle
Copy link
Author

Not yet, sorry

@hacksparrow
Copy link
Member

No problem.

@hacksparrow
Copy link
Member

It does now.

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

No branches or pull requests

5 participants