Message6348
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 |
|
Date |
User |
Action |
Args |
2019-02-17 11:16:47 | ced | set | recipients:
+ ced |
2019-02-17 11:16:47 | ced | set | messageid: <1550402207.92.0.371676542223.issue2551023@roundup.psfhosted.org> |
2019-02-17 11:16:47 | ced | link | issue2551023 messages |
2019-02-17 11:16:47 | ced | create | |
|