- - Web server add EqualNoParam

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

@ -368,6 +368,11 @@ class testHTTPServer_RequestHandler(BaseHTTPRequestHandler):
if inURLItem["URL"].upper() == urllib.parse.unquote(self.path).upper():
URLItemDo(inURLItem, self, gSettingsDict)
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
elif inURLItem["MatchType"].upper() == "EQUALCASE":
if inURLItem["URL"] == urllib.parse.unquote(self.path):

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

Loading…
Cancel
Save