Downloading the bits for a package recognizing text only
Currently, downloading the bits for a package using cf curl /v2/apps/:guid/download doesn't return the same bits as a regular curl. We think this has something to do with the bits being returned in text mode, rather than in binary.
For example, cf curl /v2/apps/:guid/download | sha1sum is different than curl https://api.example.com/v2/apps/:guid/download | sha1sum.
We have created an issue in Pivotal Tracker to manage this. You can view the current status of your issue at: https://www.pivotaltracker.com/story/show/99271000.
@jeffpak93 We couldn't reproduce the issue using OSX.
Curl wasn't able to download the app bits when we used the curl command you have posted, we had to manually extract the redirected URL from curl and issue a second curl for the download to work. Both cf curl and curl produced the same shasum.
Closing as not reproducible. Feel free to re-open if you can help us reproduce it with the latest cf CLI release.
- CLI team