correct handling of headers in rest_client.rb #44
added rspec test to test the fix
correct handling of headers in rest_client.rb #44
added rspec test to test the fix