no more xxx, thanks Howesc

This commit is contained in:
mdipierro committed 2013-02-22 18:45:26 -06:00
1 parent b64bf54f3e
commit 38cac5dd58
2 files changed
+1 -4

No files matched your search

-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():