ZF-9410: Make Zend_OAuth Http Client support streams
I discovered this issue while trying to upload a video to Youtube with an authenticated oAuth HTTP client. When you have an oAuth http Client and try to upload a video, the application crashes with message:
Application error Exception information:
Message: Method does not exist: setRawDataStream
Hacking a little bit I discovered Youtube object expects a GData Http Client, which has the method setRawDataStream.
I solved this issue copying some methods from /Zend/GData/HttpClient.php to /Zend/OAuth/Client.php. Now OAuth client supports video upload without crashing.
Where can I send the modified file to your revision?