We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Hi, I am getting Case sensitive headers with ruby 2.6.5, Can anyone please help me with it
Thank you,
The text was updated successfully, but these errors were encountered:
Hi! Could you be more specifc, plase? What you trying to achive? What are you getting instead?
Sorry, something went wrong.
Hi Please find the sample code
HTTParty.get(uri, :headers => { "Content-Type"=>"application/json", "Accept"=>"application/json", "sso_token" => "xxxxxxxxxxx" } end
When I tried the same request with curl or swagger its working, but it not working in HTTParty and as per my analysis there is something wrong with customize headers (https://stackoverflow.com/questions/42815249/how-to-preserve-custom-headers-case-in-ruby). It is happening in ruby 2.6.5,
Can anyone please help me regarding this.
Thank you
this is a duplicate of #406 and not necessarily an issue with HTTParty
HTTParty uses NET::HTTP, which capitalizes request headers by default
the cleanest work around i've found #406 (comment)
No branches or pull requests
Hi,
I am getting Case sensitive headers with ruby 2.6.5,
Can anyone please help me with it
Thank you,
The text was updated successfully, but these errors were encountered: