function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ 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 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.