# HG changeset patch # User wbell # Date 1285029798 0 # Node ID 77c3de8f5c46c6706209bd6ae248b744f66400c6 # Parent a4676056c8d3f6986f1ee51ce49eea62811c3c41 Stop sending the 'Location' header on keepalive responses, which is against the http spec and confuses some proxies. Closes #607. diff --git a/bitten/master.py b/bitten/master.py --- 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