Show More
@@ -115,7 +115,7 b' class wsgirequest(object):' | |||||
115 | self.headers = [(k, v) for (k, v) in self.headers if |
|
115 | self.headers = [(k, v) for (k, v) in self.headers if | |
116 | k in ('Date', 'ETag', 'Expires', |
|
116 | k in ('Date', 'ETag', 'Expires', | |
117 | 'Cache-Control', 'Vary')] |
|
117 | 'Cache-Control', 'Vary')] | |
118 | status = statusmessage(status.code, str(status)) |
|
118 | status = statusmessage(status.code, pycompat.bytestr(status)) | |
119 | elif status == 200: |
|
119 | elif status == 200: | |
120 | status = '200 Script output follows' |
|
120 | status = '200 Script output follows' | |
121 | elif isinstance(status, int): |
|
121 | elif isinstance(status, int): |
General Comments 0
You need to be logged in to leave comments.
Login now