mirror of
https://github.com/rest-client/rest-client.git
synced 2022-11-09 13:49:40 -05:00
4ba9f7ee63
The fix for the Netrc user/password overriding a user-set Authorization header that was committed in #374 was case-sensitive and does not cover users who pass `:authorization` or `"authorization"` as the header name. Add @processed_headers_lowercase so that case-insensitive tests like this are easier in the future. It would be better if `Request#stringify_headers` normalized both Symbols and Strings. https://github.com/rest-client/rest-client/issues/599 Also add a test for the case-insensitive behavior. Fixes: #524, #550 |
||
---|---|---|
.. | ||
restclient | ||
rest-client.rb | ||
rest_client.rb | ||
restclient.rb |