Merge branch 'master' of git.dolda2000.com:/srv/git/r/wrw
[wrw.git] / wrw / resp.py
index e901988..50ac6b1 100644 (file)
@@ -70,6 +70,7 @@ class redirect(dispatch.restart):
     def handle(self, req):
         req.status(self.status, "Redirect")
         req.ohead["Location"] = proto.appendurl(proto.requrl(req), self.url)
+        req.ohead["Content-Length"] = 0
         return []
 
 class unmodified(dispatch.restart):