Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

WebRoute arguments convert any uppercase characters to lowercase #73

Open
SouperMan3 opened this issue Aug 2, 2021 · 0 comments
Open

Comments

@SouperMan3
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant