This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author maarten
Recipients demian.brecht, facundobatista, fdrake, maarten, martin.panter, orsenthil, quentel, remi.lapeyre, v+python
Date 2020-08-12.02:54:55
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1597200895.7.0.215107604344.issue10486@roundup.psfhosted.org>
In-reply-to
Content
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.
History
Date User Action Args
2020-08-12 02:54:55maartensetrecipients: + maarten, fdrake, facundobatista, orsenthil, v+python, quentel, martin.panter, demian.brecht, remi.lapeyre
2020-08-12 02:54:55maartensetmessageid: <1597200895.7.0.215107604344.issue10486@roundup.psfhosted.org>
2020-08-12 02:54:55maartenlinkissue10486 messages
2020-08-12 02:54:55maartencreate