From 9ea00571e234f7fcb9b0254609c3f265b1d1f23c Mon Sep 17 00:00:00 2001 From: Brad Fitzpatrick Date: Sun, 20 Jun 2010 23:17:56 -0700 Subject: [PATCH] updated notes --- doc/blob-upload-protocol.txt | 14 ++++++++++++-- 1 file changed, 12 insertions(+), 2 deletions(-) diff --git a/doc/blob-upload-protocol.txt b/doc/blob-upload-protocol.txt index 741a9e2a7..65cda6bcb 100644 --- a/doc/blob-upload-protocol.txt +++ b/doc/blob-upload-protocol.txt @@ -16,6 +16,7 @@ Content-Type: text/plain "size": 12312} ], "uploadUrl": "http://example.com/SDALKSJDALKSJDKLASJD", + "uploadUrlExpirationSeconds": 7200, } @@ -37,9 +38,18 @@ Content-Type: application/octet-stream (binary blob data) ----------------------------9782c16cfc60-- +HTTP/1.1 200 OK +Content-Type: text/plain + +{ + "maxUploadSize": 1048576, + "uploadUrl": "http://example.com/TheNextUploadUrlRandomString", + "uploadUrlExpirationSeconds": 7200, +} If connection drops during a POST to an upload URL, you should re-do a -preupload request to verify which objects were received and which were not. -Also, the URL you received from preupload might've been bogus. +preupload request to verify which objects were received by the server +and which were not. Also, the URL you received from preupload +might've been bogus.