diff mercurial/hgweb/server.py @ 50090:a3c856e2ea2f

branching: merge with default the first part of the fix is there
author Pierre-Yves David <pierre-yves.david@octobus.net>
date Fri, 17 Feb 2023 17:04:41 +0100
parents 68cf519429ef
children 6be6406a2988
line wrap: on
line diff
--- a/mercurial/hgweb/server.py	Fri Jan 27 17:30:51 2023 +0100
+++ b/mercurial/hgweb/server.py	Fri Feb 17 17:04:41 2023 +0100
@@ -206,7 +206,7 @@
         env['SERVER_PROTOCOL'] = self.request_version
         env['wsgi.version'] = (1, 0)
         env['wsgi.url_scheme'] = pycompat.sysstr(self.url_scheme)
-        if env.get('HTTP_EXPECT', b'').lower() == b'100-continue':
+        if env.get('HTTP_EXPECT', '').lower() == '100-continue':
             self.rfile = common.continuereader(self.rfile, self.wfile.write)
 
         env['wsgi.input'] = self.rfile