- - Web server add EqualNoParam

dev-linux
Ivan Maslov 3 years ago
parent 8cea6abb99
commit 4aa21a68d2

@ -368,6 +368,11 @@ class testHTTPServer_RequestHandler(BaseHTTPRequestHandler):
if inURLItem["URL"].upper() == urllib.parse.unquote(self.path).upper(): if inURLItem["URL"].upper() == urllib.parse.unquote(self.path).upper():
URLItemDo(inURLItem, self, gSettingsDict) URLItemDo(inURLItem, self, gSettingsDict)
return True return True
# check Match type variant: EqualNoParam
elif inURLItem["MatchType"].upper() == "EQUALNOPARAM":
if inURLItem["URL"].upper() == urllib.parse.unquote(self.path).upper().split("?")[0]:
URLItemDo(inURLItem, self, gSettingsDict)
return True
# check Match type variant: EqualCase # check Match type variant: EqualCase
elif inURLItem["MatchType"].upper() == "EQUALCASE": elif inURLItem["MatchType"].upper() == "EQUALCASE":
if inURLItem["URL"] == urllib.parse.unquote(self.path): if inURLItem["URL"] == urllib.parse.unquote(self.path):

@ -11,6 +11,7 @@ AGT - AGENT
- - Web server auto detect MIME type from the file name - - Web server auto detect MIME type from the file name
- - Raise debug session from production. Support init_debug file in working directory - - Raise debug session from production. Support init_debug file in working directory
- - You can change the index page (def WebURLIndexChange) - - You can change the index page (def WebURLIndexChange)
- - Web server add EqualNoParam
- - MANAGERS - - MANAGERS
- - - ControlPanel - - - ControlPanel
- - - Git CI - - - Git CI

Loading…
Cancel
Save