mercurial/hgweb/server.py
branchstable
changeset 43457 92e24a139ecc
parent 43117 8ff1ecfadcd1
child 43503 313e3a279828
--- a/mercurial/hgweb/server.py	Tue Nov 05 08:42:42 2019 -0800
+++ b/mercurial/hgweb/server.py	Thu Nov 07 08:58:26 2019 +0100
@@ -160,7 +160,7 @@
             self.server.prefix + b'/'
         ):
             self._start_response(pycompat.strurl(common.statusmessage(404)), [])
-            if self.command == b'POST':
+            if self.command == r'POST':
                 # Paranoia: tell the client we're going to close the
                 # socket so they don't try and reuse a socket that
                 # might have a POST body waiting to confuse us. We do