Message375207
The CGI examples of urwid (see http://urwid.org/manual/displaymodules.html#cgi-web-display-module-web-display) don't work on http.server because of missing meta variables.
Using cgitb, I found out that the webdriver expects the environment variable `HTTP_X_URWID_METHOD` to be set. The javascript sets the "X-Urwid-Method" header (using XmlHttpRequest), but these are not visible by the CGI python script.
So some scripts extra Meta-Variables neet to be set.
I think section 4.1.18 applied because it is a http header that is being set. The sections says that these meta-variables are optional though.
I argue that having access to extra headers is useful. |
|
Date |
User |
Action |
Args |
2020-08-12 02:54:55 | maarten | set | recipients:
+ maarten, fdrake, facundobatista, orsenthil, v+python, quentel, martin.panter, demian.brecht, remi.lapeyre |
2020-08-12 02:54:55 | maarten | set | messageid: <1597200895.7.0.215107604344.issue10486@roundup.psfhosted.org> |
2020-08-12 02:54:55 | maarten | link | issue10486 messages |
2020-08-12 02:54:55 | maarten | create | |
|