no more xxx, thanks Howesc
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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():
|
||||
|
||||
Reference in New Issue
Block a user