Resumable POST/PUT HTTP upload for Google Data APIs

If you’re frustrated with ‘upload fails’ while backing up local files to Google Docs using Documents List API; Google now rolled out a “feature across Google Data APIs that supports resumable POST/PUT HTTP requests in HTTP/1.0. The protocol was modeled after ResumableHttpRequestsProposal suggested by Google Gears team, and protocol itself is straightforward. First your client […]

If you’re frustrated with ‘upload fails’ while backing up local files to Google Docs using Documents List API; Google now rolled out a “feature across Google Data APIs that supports resumable POST/PUT HTTP requests in HTTP/1.0. The protocol was modeled after ResumableHttpRequestsProposal suggested by Google Gears team, and protocol itself is straightforward. First your client makes an initial POST request to an API endpoint to obtain a unique upload URI. Next, file's sent in chunks to server using Content-Range header. This single request sends first 100000 bytes of 1234567 byte PDF file. For now, resumable upload feature is only available in DocList and YouTube APIs, and the Java, Python, Objective-C, and .NET libraries have been updated to support resumable functionality,” explain Google.

More info: documentation | client library samples

[Source]