Mercurial > bitten > bitten-test
changeset 826:77c3de8f5c46
Stop sending the 'Location' header on keepalive responses, which is against the http spec and confuses some proxies.
Closes #607.
author | wbell |
---|---|
date | Tue, 21 Sep 2010 00:43:18 +0000 |
parents | a4676056c8d3 |
children | 630b48a53fc6 |
files | bitten/master.py |
diffstat | 1 files changed, 2 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- a/bitten/master.py +++ b/bitten/master.py @@ -428,9 +428,8 @@ body = 'Keepalive processed' self._send_response(req, 200, body, { 'Content-Type': 'text/plain', - 'Content-Length': str(len(body)), - 'Location': req.abs_href.builds( - build.id, 'keepalive')}) + 'Content-Length': str(len(body))}) + def _start_new_step(self, build, stepname): """Creates the in-memory representation for a newly started