Show More
@@ -133,7 +133,8 b' class continuereader(object):' | |||
|
133 | 133 | |
|
134 | 134 | def _statusmessage(code): |
|
135 | 135 | responses = httpserver.basehttprequesthandler.responses |
|
136 | return responses.get(code, ('Error', 'Unknown error'))[0] | |
|
136 | return pycompat.bytesurl( | |
|
137 | responses.get(code, (r'Error', r'Unknown error'))[0]) | |
|
137 | 138 | |
|
138 | 139 | def statusmessage(code, message=None): |
|
139 | 140 | return '%d %s' % (code, message or _statusmessage(code)) |
General Comments 0
You need to be logged in to leave comments.
Login now