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

Add option to ignore content-length with multipart body #920

Open
outamaa opened this issue Nov 24, 2021 · 0 comments
Open

Add option to ignore content-length with multipart body #920

outamaa opened this issue Nov 24, 2021 · 0 comments
Labels
feature New feature or request

Comments

@outamaa
Copy link
Contributor

outamaa commented Nov 24, 2021

The current implementation of multipart::form requires that the Content-Length header exists. However, there are valid situations where this is not the case, for example when Transfer-Encoding header is present. See e.g. RFC2616, section 4.4.

multipart::form should have an option for not checking maximum content length and therefore not requiring Content-Length headers to be present in the request.

I already made a pull request implementing such an option without breaking the current API.

@outamaa outamaa added the feature New feature or request label Nov 24, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant