##// END OF EJS Templates
py3: convert server-string to unicode to make http library happy
Yuya Nishihara -
r38613:b263133e default
parent child Browse files
Show More
@@ -246,7 +246,7 b' class _httprequesthandler(httpservermod.'
246
246
247 def version_string(self):
247 def version_string(self):
248 if self.server.serverheader:
248 if self.server.serverheader:
249 return self.server.serverheader
249 return encoding.strfromlocal(self.server.serverheader)
250 return httpservermod.basehttprequesthandler.version_string(self)
250 return httpservermod.basehttprequesthandler.version_string(self)
251
251
252 class _httprequesthandlerssl(_httprequesthandler):
252 class _httprequesthandlerssl(_httprequesthandler):
General Comments 0
You need to be logged in to leave comments. Login now