Skip to content

Conversation

@tlshaheen
Copy link

This is different than issue #30 in that the http_parse_headers function here is a better implementation of parsing the headers - it accounts for a number of things that could be different about the headers.

Issue #30 also doesn't appear to have been merged, unless I am looking at it wrong.

tlshaheen added 3 commits July 9, 2014 08:25
If params are passed as JSON (instead of array), check and see if the access token is part of the JSON.

If it is, do not throw the "You need to give parameters as array if you want to give the token within the URI" exception.
This is different than issue adoy#30 in that the http_parse_headers function here is a better implementation of parsing the headers - it accounts for a number of things that could be different about the headers.

Issue adoy#30 also doesn't appear to have been merged, unless I am looking at it wrong.
@DanMan
Copy link

DanMan commented May 12, 2022

Good idea, unreliable solution. It should probably use CURLOPT_HEADERFUNCTION somehow. See https://stackoverflow.com/a/25118032/428241

And yeah, that code was never merged unfortunately.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants