Roundup Tracker - Issues

Message6348

Author ced
Recipients ced
Date 2019-02-17.11:16:47
Message-id <1550402207.92.0.371676542223.issue2551023@roundup.psfhosted.org>
In-reply-to
I use the wsgi_handler instead of roundup-server. And I can not get
HTTP_X-REQUESTED-WITH set in environment because WSGI server convert all
'-' into '_'. So the X-Requested-With header becomes
HTTP_X_REQUESTED_WITH. But roundup-server use HTTP_X-REQUESTED-WITH key.
I think roundup-server behavior should be normalized with other WSGI
server and not use '-' in HTTP_*.
I could not find in PEP3333 that '-' should be converted into '_' for
HTTP_. There is only a reference to server-defined variables.

https://www.python.org/dev/peps/pep-3333/#environ-variables
History
Date User Action Args
2019-02-17 11:16:47cedsetrecipients: + ced
2019-02-17 11:16:47cedsetmessageid: <1550402207.92.0.371676542223.issue2551023@roundup.psfhosted.org>
2019-02-17 11:16:47cedlinkissue2551023 messages
2019-02-17 11:16:47cedcreate