diff bitten/master.py @ 402:08801667f00f

Switch to urllib2 in slave so that we can support basic and digest authentication.
author cmlenz
date Fri, 03 Aug 2007 14:44:29 +0000
parents a10942252ebc
children 933105ab516b
line wrap: on
line diff
--- a/bitten/master.py
+++ b/bitten/master.py
@@ -241,9 +241,11 @@
                 listener.build_completed(build)
 
         body = 'Build step processed'
-        req.send_response(200)
+        req.send_response(201)
         req.send_header('Content-Type', 'text/plain')
         req.send_header('Content-Length', str(len(body)))
+        req.send_header('Location', req.abs_href.builds(build.id, 'steps',
+                        stepname))
         req.write(body)
         raise RequestDone
 
Copyright (C) 2012-2017 Edgewall Software