WebRoute arguments convert any uppercase characters to lowercase
SouperMan3 opened this issue · 0 comments
SouperMan3 commented
Using MicroWebSrv2 WebRoutes Arguments converts any Upper case characters to lower
Code Snipit:
@webroute(GET, "/capp///
////")
def RequestGetApp(microWebSrv2, request, args):
global lockout, errmax, filepre, useflash, clearsd, accespt, PIRactive, sdCleared
print("Getting config values")
# store the return values in the globals
...
print(args['pre'])
filepre = args['pre']
...
request.Response.ReturnOk()REPL output:
Getting config values
bird99
MWS2-DEBUG> From 10.0.0.8:62708 GET /capp/0.5/10/BIRD99/0/0/0/1 >> [200] OK
MWS2-DEBUG> From 10.0.0.8:62708 >> [200] OK