Issue Type: Bug Created: 2012-01-24T07:00:51.000+0000 Last Updated: 2012-02-23T16:00:27.000+0000 Status: Resolved Fix version(s): Reporter: Saidur Rahman (bijon) Assignee: Kyle Spraggs (spiffyjr) Tags: - Zend\Oauth
Related issues: Attachments:
i have found that headers values are set in a wrong way in this method getRequestSchemeHeaderClient(); That's why i always get this error message : "Invalid parameter headers passed". As i noticed that this method setHeaders($headers) in /Zend/Http/Client are expecting parameter as an array or instance of Headers. But in the code it sets as a plain string like $client->setHeaders('Authorization', $headerValue). But if i change the values like $client->setHeaders(array('Authorization' => $headerValue)), then i do not get any error message.
Posted by Adam Lundrigan (adamlundrigan) on 2012-02-23T15:15:06.000+0000
I believe that Zend\OAuth is still in the process of being refactored and updated to use the new Zend\Http\Client component. Last I heard, that was being worked on in padraicb/zend-oauth-cleanup, but the last commit was over 6 months ago.
Posted by Matthew Weier O'Phinney (matthew) on 2012-02-23T15:57:34.000+0000
Actually, it's been updated to use the new HTTP client; it just hasn't been updated to OAuth 2.
Posted by Matthew Weier O'Phinney (matthew) on 2012-02-23T16:00:04.000+0000
This is actually fixed in master now, as of rev f3d92e1.
Have you found an issue?
See the Overview section for more details.