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
The current available rest clients use a reponse header to extract the total amount
As there is no quarantee that headers are always lower case or canonical, this should check for the header in a case insensitive way as not to break.
FYI Golang's stdlib actually automatically changes headers to use Canonical MIME format. https://golang.org/pkg/net/textproto/#CanonicalMIMEHeaderKey
The text was updated successfully, but these errors were encountered:
Pass Headers object to restClient
7d382b2
Fixes #79
We're now exposing the Headers object directly. Its get() method is case-insensitive.
Headers
get()
Sorry, something went wrong.
fzaninotto
No branches or pull requests
The current available rest clients use a reponse header to extract the total amount
and
As there is no quarantee that headers are always lower case or canonical, this should check for the header in a case insensitive way as not to break.
FYI Golang's stdlib actually automatically changes headers to use Canonical MIME format.
https://golang.org/pkg/net/textproto/#CanonicalMIMEHeaderKey
The text was updated successfully, but these errors were encountered: