-
Notifications
You must be signed in to change notification settings - Fork 11
New issue
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
Curl Response Header Keys #21
Comments
I have the same issue. I haven't found a solution yet. I get lowercase headers only on remote dev server. Instead on my local server all headers have capitalize case. It's very strange because these headers come from API. Help |
I know it's wrong solution but I just change vendor/postmen/sdk-php/src/Postmen/Postmen.php file in 131 line. |
+1 for this - I've worked around this by modifying Postmen.php to change that line to:
|
For what it's worth: the issue seems to be in a way some libcurl/ext-curl versions/compilations normalise the response http headers. In some versions the headers are lowercased, and in other versions the headers are title-cased. 2 potential immediate solutions:
|
During testing today I ran into "Undefined index: Date"
Here's the stack trace:
In research I found the keys coming from the response headers are lowercase.
I'm unsure if it's a problem with your API or of it's something else.
The text was updated successfully, but these errors were encountered: