BluesZhang / gdata-objectivec-client

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

Text File Download Failed #69

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Use object-c library sample code to upload text file.
2. Try download the same text file just uploaded

What is the expected output? What do you see instead?
The text file should be downloaded correctly (in text string format).
Instead, what I see is either a 500 error, or some bogus payload come back 
(which seems like a pdf content), see below for details.

Please use labels and text to provide additional information.
Starts about a month ago, the iPhone app I wrote starts to getting failures 
when downloading text file. (uploading is fine. viewing text file in browser is 
fine. downloading spreadsheet file seems fine too). The error symptom varies. 
Sometimes it's a 500 error. Sometimes, the downloaded string has the following 
headers like below. It sounds like the text file was treated like PDF???

%PDF-1.4
%âãÏÓ
2 0 obj
<</Length 16094/Filter/FlateDecode>>stream

Original issue reported on code.google.com by kopusc...@gmail.com on 12 Aug 2010 at 5:17

GoogleCodeExporter commented 9 years ago
When using the sample app bundled with the object-c library. here is the error 
message when trying to download a text file:

2010-08-10 22:03:06.436 DocsSample[40015:a0f] Fetcher error: Error 
Domain=com.google.HTTPStatus Code=500 UserInfo=0x2867e0 "The operation 
couldn’t be completed. (com.google.HTTPStatus error 500.)"

Original comment by kopusc...@gmail.com on 12 Aug 2010 at 5:18

GoogleCodeExporter commented 9 years ago
This is a server issue rather than a library issue.

Add a star to

http://code.google.com/p/gdata-issues/issues/detail?id=2157

to be updated as the status changes.

Original comment by gregrobbins on 12 Aug 2010 at 5:23