librarian sends tar.gz file with wrong Content-Type headers: text/html
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Launchpad itself |
Triaged
|
High
|
Unassigned |
Bug Description
This URL: http://
Getting distribution for 'flufl.bounce'.
Error: Unexpected HTML page found at http://
It's failing because the headers are wrong and is assuming that the webserver is responding by sending HTML instead of binary data. This is easy to verify with curl:
$ curl http://
HTTP/1.1 200 OK
Date: Fri, 22 Jul 2011 18:18:15 GMT
Server: TwistedWeb/11.0.0
Content-Length: 148276
Accept-Ranges: bytes
Last-Modified: Fri, 15 Jul 2011 22:17:10 GMT
Cache-Control: max-age=31536000, public
Content-Type: text/html
Age: 566
X-Cache: HIT from banana.
X-Cache-Lookup: HIT from banana.
Via: 1.0 banana.
Via: 1.1 launchpadlibrar
Vary: Accept-Encoding
Changed in launchpad: | |
status: | New → Triaged |
importance: | Undecided → High |