X-Git-Url: http://dolda2000.com/gitweb/?p=wrw.git;a=blobdiff_plain;f=wrw%2Fresp.py;h=a27a143f1b04abb60517ae65455a90538237a8bf;hp=24896bab3b0512bfef2cf7c408586fa41caffbaa;hb=a7b35f84508eb5ab8a890065275e5a0f3bc5bef5;hpb=5a071401aade4fa5c1d3ef852a5861cb94475e73 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 []