Issue #4936 new

HTTP Content-Type is always text/plain (BB-6154)

thedillonb
created an issue

It would seem that downloading any file from a repository causes the HTTP response header to contain the same content-type: text/plain

For example:

curl -i -u thedillonb https://api.bitbucket.org/1.0/repositories/thedillonb/bitbucketbrowser/raw/master/BitbucketBrowser/Images/Dropbar.png

Results in:

Content-Type: text/plain; charset=utf-8

Which is incorrect since the png is not text...

Comments (2)

  1. Log in to comment