Files exported from google drive sometimes do not contain content header fields

I have an application that downloads files from google drive, exported as pdf files using GTMHTTPFetcher

.

All files are loading correctly, but the fetcher property response.expectedContentLength

returns -1 for some files. The response is also missing a content length field for these files.

I tried setting "Accept-Encoding" to "" in the request header, but that doesn't solve the problem.

Any ideas how to fix this?

+3
ios objective-c iphone google-drive-sdk


source to share


No one has answered this question yet

Check out similar questions:

768
Can I embed my own font in the iPhone app?
25
Direct download from Google Drive using the Google Drive API
2
Google Api for PHP (Drive API) Export as .pdf uploaded file.docx
1
Google Drive Media File Transfer to ChromeCast
1
google drive api export
0
How does a Google Drive file not have "any content stored in Drive"?
0
Export text / regular from Google Drive
0
How to get file content from Google Drive API for iOS if user is not allowed to download this file
0
How can I connect a Google Drive file to the response body in Node.js?
0
How to download a PDF file from google drive and view it



All Articles
Loading...
X
Show
Funny
Dev
Pics