diff --git a/extra/keepalive/keepalive.py b/extra/keepalive/keepalive.py index d9deb4969..867f7f0c1 100644 --- a/extra/keepalive/keepalive.py +++ b/extra/keepalive/keepalive.py @@ -203,6 +203,7 @@ class HTTPHandler(urllib2.HTTPHandler): resp.msg = r.reason return resp; else: + r.code = r.status return self.parent.error('http', req, r, r.status, r.reason, r.msg) def http_open(self, req):