Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

Already on GitHub? Sign in to your account

Bug detecting existing request headers #15

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

Comments

Projects
None yet
2 participants

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

Owner

cmullaparthi commented Oct 11, 2010

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

Owner

cmullaparthi commented Nov 10, 2010

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