google-code-export / gdata-python-client

Automatically exported from code.google.com/p/gdata-python-client
1 stars 0 forks source link

Patch for /src/gdata/client.py #518

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
Fixes for issue: http://codereview.appspot.com/4453059/

Request method must be consistent in _init_session and _upload_chunk, and 
should be PUT for update and POST for upload.

Also fixed uninitialized customer_headers.

Original issue reported on code.google.com by fp...@google.com on 24 May 2011 at 3:08

Attachments:

GoogleCodeExporter commented 9 years ago

Original comment by afs...@google.com on 7 Oct 2011 at 12:27

GoogleCodeExporter commented 9 years ago
Hi, the actual resumable protocol uses PUT for all future chunks.

The other part of the patch is correct though.

Original comment by afs...@google.com on 2 Feb 2012 at 2:40