one.ubuntu.com haproxy maintenance page is sent as text/plain
Bug #519510 reported by
Elliot Murphy
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Ubuntu One Servers |
Confirmed
|
High
|
Michael Barnett |
Bug Description
We carefully created a maintenance page to be shown when the app servers are offline for maintenance. during the maintenance today, haproxy dutifully send out this errorfile, but apparently it was sent as text/plain instead of text/html, so the page showed as a bunch of raw html both in chrome and firefox, rather than a polished maintenance page.
To post a comment you must log in.
very interesting, offline. httpresponse definitely has headers of text/html set:
[emurphy@sunk media]$ head offline. httpresponse 93a-47cfd8ee847 40"
HTTP/1.1 200 OK
Date: Tue, 12 Jan 2010 20:39:12 GMT
Server: Apache/2.2.12 (Ubuntu)
Last-Modified: Tue, 12 Jan 2010 20:32:53 GMT
ETag: "24818d-
Accept-Ranges: bytes
Content-Length: 2362
Vary: Accept-Encoding
Content-Type: text/html