X-Git-Url: http://dolda2000.com/gitweb/?a=blobdiff_plain;f=wrw%2Fresp.py;h=bdceb90778ac370a855292c6f6e9e08322de761d;hb=3b67497cb853ea7dd49f579566e5f0b60a3c97d7;hp=b62ce0e4bdefe58d6473977f77c78eaadea9e223;hpb=a02127330452ddc72406bb1e2e3eeadefe773ebb;p=wrw.git diff --git a/wrw/resp.py b/wrw/resp.py index b62ce0e..bdceb90 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 []