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

HTTP headers should be case-insensetive #5

Closed
cherepets opened this issue Apr 26, 2017 · 2 comments
Closed

HTTP headers should be case-insensetive #5

cherepets opened this issue Apr 26, 2017 · 2 comments

Comments

@cherepets
Copy link
Contributor

Please take a look at rfc:
http://www.w3.org/Protocols/rfc2616/rfc2616-sec4.html#sec4.2

I had a client side code with "content-length" header. On the server side Heraders.ContentLength property returned -1 (why not 0?) and char[] buffer = new char[contentLength] failed with exception Cannot create an array with a negative size.

@cherepets
Copy link
Contributor Author

cherepets commented Apr 26, 2017

Created a fork and made pull request:
#6

@StefH
Copy link
Owner

StefH commented Apr 27, 2017

Thanks.

@StefH StefH closed this as completed Apr 27, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants