A micro HTTP Web server that supports WebSockets, html/python language templating and routing handlers, for MicroPython (used on Pycom modules & ESP32)
On typing "a b" in a form <input> the argument arrives at handler with "a+b"
The '+' is a symbol for space while transport and should be replaced on reading header lines.
If you type in the form element:
[a b]
you get with actual version a HTTP-GET or HTTP-POST:
On typing "a b" in a form
<input>
the argument arrives at handler with "a+b" The '+' is a symbol for space while transport and should be replaced on reading header lines.If you type in the form element:
[a b]
you get with actual version a HTTP-GET or HTTP-POST:
"<addr>/?k=a+b"
you get a dict with:
{'k': 'a+b'}
With this change you get a correct dict with:
{'k': 'a b'}