Merge lp:~gary/launchpad/bug_475371 into lp:launchpad/db-devel
Proposed by
Gary Poster
on 2010-01-25
| Status: | Merged | ||||
|---|---|---|---|---|---|
| Merged at revision: | not available | ||||
| Proposed branch: | lp:~gary/launchpad/bug_475371 | ||||
| Merge into: | lp:launchpad/db-devel | ||||
| Diff against target: |
36 lines (+32/-0) 1 file modified
lib/canonical/launchpad/offline-haproxy.html (+32/-0) |
||||
| To merge this branch: | bzr merge lp:~gary/launchpad/bug_475371 | ||||
| Related bugs: |
|
| Reviewer | Review Type | Date Requested | Status |
|---|---|---|---|
| Tom Haddon | 2010-01-25 | Approve on 2010-01-26 | |
| Leonard Richardson (community) | 2010-01-25 | Approve on 2010-01-25 | |
|
Review via email:
|
|||
To post a comment you must log in.
| Gary Poster (gary) wrote : | # |
| Leonard Richardson (leonardr) wrote : | # |
I see a size of 1189, not 1065. Is it necessary to specify Content-Length? It seems to be causing nothing but trouble, and it doesn't _look_ to be required by Haproxy.
Good that you got rid of the CSS reference. Approved pending removing Content-Length or fixing it and justifying its existence.
review:
Approve
| Gary Poster (gary) wrote : | # |
Thanks, Leonard. I see the mistake I made: I was not including the DOCTYPE. I did len(c.split(
| Tom Haddon (mthaddon) wrote : | # |
I've tested this and it works fine, so from my perspective, +1.
review:
Approve

This simply adds a file that should be usable by haproxy for being offline, per Tom Haddon's notes in bug 475371. Particularly, the file contains the necessary HTTP headers and has \r\n endings.
This is an RC-candidate.