X-Git-Url: http://dolda2000.com/gitweb/?a=blobdiff_plain;f=wrw%2Fresp.py;h=a27a143f1b04abb60517ae65455a90538237a8bf;hb=a7b35f84508eb5ab8a890065275e5a0f3bc5bef5;hp=24896bab3b0512bfef2cf7c408586fa41caffbaa;hpb=3162cb89d51c4df9eec6c979d20bc4a2c82da5f9;p=wrw.git diff --git a/wrw/resp.py b/wrw/resp.py index 24896ba..a27a143 100644 --- a/wrw/resp.py +++ b/wrw/resp.py @@ -70,4 +70,5 @@ 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 []