Content-Type: Mime::NullType bug for unauthorized downloads

Noticed improper Content-Type header when accessing download url of private repository:

$ curl -i https://gitlab.com/glensc/private/repository/archive.tar.gz?ref=master
HTTP/1.1 401 Unauthorized
Server: nginx
Date: Fri, 11 Nov 2016 16:24:07 GMT
Content-Type: #<Mime::NullType:0x007f298a909510>; charset=utf-8
Content-Length: 49
Cache-Control: no-cache
X-Content-Type-Options: nosniff
X-Frame-Options: SAMEORIGIN
X-Request-Id: 72b3e532-15cb-4e6e-a2f9-73d1456050e7
X-Runtime: 0.056089
X-Xss-Protection: 1; mode=block

You need to sign in or sign up before continuing.
Assignee Loading
Time tracking Loading