skishore119 / google-api-php-client

Automatically exported from code.google.com/p/google-api-php-client
0 stars 0 forks source link

Wrong Method called in Google_HttpRequest #272

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Using Google_MediaFileUpload->getResumeUri()
2. #243 - $body = $httpRequest->getBody();
3. Error Message - Google_HttpRequest doesn't have a method getBody()

What is the expected output? What do you see instead?

Expected "Successfull Upload", got Error Message with unknown getBody() method 
in IO/Google_HttpRequest.php-#Line243

What version of the product are you using? On what operating system?

google-api-php-client-0.6.0.tar.gz

Please provide any additional information below.

Also the "latest" version 0.6.0 doesn't include the new "insert"-methods inside 
the Google_YoutubeService(). I had to get a SVN copy from the file to work.

And the last point:

Using Google_YoutubeServe in the current SVN Copy, generates 500 Errors, even 
error_reporting and display_errors won't show errors.

After mixing 0.6.0 and SVN Copy in the right way, it works and I can upload 
videos to Youtube.

Original issue reported on code.google.com by social%d...@gtempaccount.com on 22 Feb 2013 at 11:33

GoogleCodeExporter commented 8 years ago
Should be resolved to getPostBody now.

Original comment by ianbar...@google.com on 22 Mar 2013 at 6:11