##// END OF EJS Templates
py3: compare http server's command with a native string...
Denis Laxalde -
r43793:92e24a13 stable
parent child Browse files
Show More
@@ -160,7 +160,7 b' class _httprequesthandler(httpservermod.'
160 self.server.prefix + b'/'
160 self.server.prefix + b'/'
161 ):
161 ):
162 self._start_response(pycompat.strurl(common.statusmessage(404)), [])
162 self._start_response(pycompat.strurl(common.statusmessage(404)), [])
163 if self.command == b'POST':
163 if self.command == r'POST':
164 # Paranoia: tell the client we're going to close the
164 # Paranoia: tell the client we're going to close the
165 # socket so they don't try and reuse a socket that
165 # socket so they don't try and reuse a socket that
166 # might have a POST body waiting to confuse us. We do
166 # might have a POST body waiting to confuse us. We do
General Comments 0
You need to be logged in to leave comments. Login now