I am trying to create a *very simple* http server using the TclOO and >coroutine based web server that is part of the tcllib package. How do I get >the POST data? The example code and the man pages are not helpful.
This is the package with this copyright notice at the bottom of the man page:
Copyright (c) 2018 Sean Woods <[email protected]>
Is Sean Woods listening on comp.lang.tcl? I need some help. I am trying to >replace the *broken* python code here (it is python2, which is not supported >on my Rasberian 12 (bookworm) system):
https://github.com/BlocklyDuino/BlocklyDuino/blob/master/arduino_web_server.py
I am trying to create a *very simple* http server using the TclOO and coroutine based web server that is part of the tcllib package. How
do I get the POST data? The example code and the man pages are not
helpful.
In article <[email protected]>,
Robert Heller <[email protected]> wrote:
I am trying to create a *very simple* http server using the TclOO and >coroutine based web server that is part of the tcllib package. How do I get >the POST data? The example code and the man pages are not helpful.
This is the package with this copyright notice at the bottom of the man page:
Copyright (c) 2018 Sean Woods <[email protected]>
Is Sean Woods listening on comp.lang.tcl? I need some help. I am trying to
replace the *broken* python code here (it is python2, which is not supported >on my Rasberian 12 (bookworm) system):
https://github.com/BlocklyDuino/BlocklyDuino/blob/master/arduino_web_server.py
I remember looking at that as well, and abandoning it because I really understand neither TclOO nor coroutines, and looking at the page wasn't helping. For one project, I found an embedded http server on wiki.tcl.tk, but as I recall it doesn't do POST.
However, the Welch tclhttpd is still available:
https://wiki.tcl-lang.org/page/TclHttpd
although I'm guessing that's too heavyweight for your use case.
At 7 Mar 2024 04:09:42 GMT [email protected] (Ted Nolan <tednolan>) wrote:
trying to
In article <[email protected]>,
Robert Heller <[email protected]> wrote:
I am trying to create a *very simple* http server using the TclOO and
coroutine based web server that is part of the tcllib package. How do I get
the POST data? The example code and the man pages are not helpful.
This is the package with this copyright notice at the bottom of the man page:
Copyright (c) 2018 Sean Woods <[email protected]>
Is Sean Woods listening on comp.lang.tcl? I need some help. I am
replace the *broken* python code here (it is python2, which is not supported
on my Rasberian 12 (bookworm) system):
https://github.com/BlocklyDuino/BlocklyDuino/blob/master/arduino_web_server.py
I remember looking at that as well, and abandoning it because I really
understand neither TclOO nor coroutines, and looking at the page wasn't
helping. For one project, I found an embedded http server on wiki.tcl.tk, >> but as I recall it doesn't do POST.
However, the Welch tclhttpd is still available:
https://wiki.tcl-lang.org/page/TclHttpd
although I'm guessing that's too heavyweight for your use case.
I did eventually figure it out.
| Sysop: | Keyop |
|---|---|
| Location: | Huddersfield, West Yorkshire, UK |
| Users: | 714 |
| Nodes: | 16 (2 / 14) |
| Uptime: | 139:52:05 |
| Calls: | 12,087 |
| Files: | 14,998 |
| Messages: | 6,517,418 |