You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Mar 14, 2023. It is now read-only.
What steps will reproduce the problem?
1.create authenticated client
[email protected]_file(url, path, mime_type, entry)
3.No file found in upload request.
What is the expected output? What do you see instead?
I would like to be able to upload a video to youtube
What version of the product are you using? On what operating system?
Windows XP SP3, gdata version 1.1.1
Please provide any additional information below.
in "class MimeBody" replace "wrap_entry" with this code to fix it.
"def wrap_entry(entry, file_mime_type)
wrapped_entry = "--#{@boundary}\r\n"
wrapped_entry += "Content-Type: application/atom+xml;
charset=UTF-8\r\n\r\n"
wrapped_entry += entry
wrapped_entry += "\r\n--#{@boundary}\r\n"
wrapped_entry += "Content-Type: #{file_mime_type}\r\n"
wrapped_entry += "Content-Transfer-Encoding: binary\r\n\r\n"
return MimeBodyString.new(wrapped_entry)
end"
Original issue reported on code.google.com by [email protected] on 8 Dec 2009 at 3:34
The text was updated successfully, but these errors were encountered:
Original issue reported on code.google.com by
[email protected]
on 8 Dec 2009 at 3:34The text was updated successfully, but these errors were encountered: