'src' REST api has problem with binary data (BB-4885)
When view binary data with REST API, the "Server Internal Error" was returned.
There is no problem with the raw api.
GitHub use the Base64 to encode binary data files and also attach a "encoding" field along with the "data" field.
Bitbucket api can do the same: base64 encode binary data with "encoding" info.