PHP-OAuth2 icon indicating copy to clipboard operation
PHP-OAuth2 copied to clipboard

Return response headers with fetch()

Open tlshaheen opened this issue 10 years ago • 1 comments

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 avatar Jul 15 '14 13:07 tlshaheen

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.

DanMan avatar May 12 '22 14:05 DanMan