From 38cac5dd589dbb2c5c7ce6d95553f6b4aeaf5860 Mon Sep 17 00:00:00 2001 From: mdipierro Date: Fri, 22 Feb 2013 18:45:26 -0600 Subject: [PATCH] no more xxx, thanks Howesc --- VERSION | 2 +- gluon/http.py | 3 --- 2 files changed, 1 insertion(+), 4 deletions(-) diff --git a/VERSION b/VERSION index 9af774d2..04eb776f 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -Version 2.4.1-alpha.2+timestamp.2013.02.22.10.18.20 +Version 2.4.1-alpha.2+timestamp.2013.02.22.18.44.48 diff --git a/gluon/http.py b/gluon/http.py index 62ef7227..48efacad 100644 --- a/gluon/http.py +++ b/gluon/http.py @@ -97,9 +97,6 @@ class HTTP(BaseException): if not body: body = status if isinstance(body, str): - if len(body) < 512 and \ - headers['Content-Type'].startswith('text/html'): - body += '' % ('x' * 512) # trick IE headers['Content-Length'] = len(body) rheaders = [] for k, v in headers.iteritems():