no more xxx, thanks Howesc

This commit is contained in:
mdipierro
2013-02-22 18:45:26 -06:00
parent b64bf54f3e
commit 38cac5dd58
2 changed files with 1 additions and 4 deletions
+1 -1
View File
@@ -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
-3
View File
@@ -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 += '<!-- %s //-->' % ('x' * 512) # trick IE
headers['Content-Length'] = len(body)
rheaders = []
for k, v in headers.iteritems():