For an Attachment sobject, there is a
'Body' field, whose value looks like:
When I make a GET request to this endpoint using Python
requests package, the download speed is roughly 50 kilobytes/second. (For content with
'BodyLength': 5323002, which Salesforce documentation says is the size of the file, in bytes, it took 104 seconds. Other files showed similar download rates.)
I'm wondering if there is something about this endpoint which limits the speed you can download the content. I know bandwidth and speed of my network affect this, but my internet speed is well more than 50 KB/s, and the download speeds from this endpoint are this slow whether making the request from my local machine or from a dedicated machine in AWS.
Is this speed expected, and is there a preferred way to get the file content faster?