+ Start a Discussion

Content-Length for Documents or Attachments is not returned in response

I am attempting to download Attachments/Documents in an iOS app using ASIHTTPRequest and found that the REST operation outlined in http://www.salesforce.com/us/developer/docs/api_rest/Content/dome_sobject_blob_retrieve.htm does not return Content-Length in its headers. Is there anyway I can force Content-Length to be returned in the response header? I know I can use BodyLength to get it, but I would like to reduce the need to query for the length before queuing up the download.  Content-Length is desired to properly implement a progress indicator of the download.