X-Git-Url: http://www.dolda2000.com/gitweb/?p=ashd.git;a=blobdiff_plain;f=python%2Fashd%2Fwsgiutil.py;h=b947407a675c0b8b252416b1004285b2acaf77c2;hp=5fe7535140eafc6ae08246126d0cb761656e995c;hb=173e0e9efec5ae690cc157fe238113fcd814895e;hpb=188cd02daf85ef68a832deab4fcbf0daaf2d4573 diff --git a/python/ashd/wsgiutil.py b/python/ashd/wsgiutil.py index 5fe7535..b947407 100644 --- a/python/ashd/wsgiutil.py +++ b/python/ashd/wsgiutil.py @@ -25,6 +25,5 @@ def simpleerror(env, startreq, code, title, msg):

%s

""" % (title, title, htmlquote(msg)) - buf = buf.encode("ascii") startreq("%i %s" % (code, title), [("Content-Type", "text/html"), ("Content-Length", str(len(buf)))]) return [buf]