What steps will reproduce the problem?
1.create authenticated client
2.@client.put_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 anders.b...@gmail.com on 8 Dec 2009 at 3:34
Original issue reported on code.google.com by
anders.b...@gmail.com
on 8 Dec 2009 at 3:34