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

Support multipart/form-data requests #7

Open
dschulten opened this issue Apr 19, 2019 · 1 comment
Open

Support multipart/form-data requests #7

dschulten opened this issue Apr 19, 2019 · 1 comment

Comments

@dschulten
Copy link

dschulten commented Apr 19, 2019

It would be useful if one could parse multipart requests. There is commons-fileupload but it depends on the servlet-api.

certainly this is not a simple task, caveat https://stackoverflow.com/questions/2422468/how-to-upload-files-to-server-using-jsp-servlet

see https://tools.ietf.org/html/rfc7578

@renatoathaydes
Copy link
Owner

Hi @dschulten. I agree this functionality is necessary for any proper HTTP server to do the minimum job expected from it... but when I started writing RawHTTP my idea was to cover as much as possible of RFC-7230 in the rawhttp-core module, and then write a new module called rawhttp-semantics (or something like rawhttp-rest) adding things like the "official" HTTP methods, parsing of known HTTP headers, cookies, and other HTTP extensions like file upload. This task, however, is a little too much for me to do by myself, unfortunately...

I think the ideal way to go about this is to add a few little things, like file-upload, into a new module, then slowly expand it to cover all of the things people come to expect from HTTP server/clients. But I cannot promise anything as I have other interests in life besides HTTP :) so help with implementation of features like this would be highly appreciated.

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

2 participants