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

Bug detecting existing request headers #15

Closed
davisp opened this issue Oct 11, 2010 · 2 comments
Closed

Bug detecting existing request headers #15

davisp opened this issue Oct 11, 2010 · 2 comments

Comments

@davisp
Copy link

davisp commented Oct 11, 2010

In ibrowse_http_client:make_request/7 there's a call to ibrowse_lib:get_value(content_length, Headers, false) and ibrowse_lib:get_value(transfer_encoding, Headers, false). get_value does not attempt to check if the header exists as a string which ends up causing things like having multiple Content-Length headers set.

http://github.com/cmullaparthi/ibrowse/blob/master/src/ibrowse_http_client.erl#L806

@cmullaparthi
Copy link
Owner

Thanks for the bug report. I'll put in a fix for the upcoming version.

@cmullaparthi
Copy link
Owner

Fixed in ibrowse-2.1.0

This issue was closed.
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