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 <yoda@etoyoc.com>
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
In article <hgWdnfghgO6MsHT4nZ2dnZfqnPSdnZ2d@giganews.com>,
Robert Heller <heller@deepsoft.com> 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 <yoda@etoyoc.com>
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.I did eventually figure it out.
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 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.
At 7 Mar 2024 04:09:42 GMT ted@loft.tnolan.com (Ted Nolan <tednolan>) wrote:
trying to
In article <hgWdnfghgO6MsHT4nZ2dnZfqnPSdnZ2d@giganews.com>,
Robert Heller <heller@deepsoft.com> 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 <yoda@etoyoc.com>
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: | DaiTengu |
---|---|
Location: | Appleton, WI |
Users: | 915 |
Nodes: | 10 (2 / 8) |
Uptime: | 46:29:10 |
Calls: | 12,170 |
Files: | 186,521 |
Messages: | 2,234,597 |