Closed nicoarbogast closed 10 years ago
Why do these methods need to save headers when make_auth_header is the last part of sign! and takes care of saving everything? Do these other methods get used without make_auth sometimes?
Thanks @kjg, you're right. I agree we don't need these for the code to work. The idea was just to make sure that when we change a RestClient request headers we update its processed_headers that are the ones actually used by RestClient::Request when sending :execute.
I believe this might be fixed with https://github.com/mgomes/api_auth/commit/8de9ec93932a0ebd33aa456fa265a6489e4c9a16.
Can you please check if works for you and if not file new pull requests?
Hi, Thank you for the gem and the maintenance ! There were still a few issues with handling the headers for RestClient requests. These small changes fixed it. Thank you in advance for integrating them. Best Nico