python-web-sig / wsgi-ng

Working group for wsgi-ng
39 stars 3 forks source link

lossless environ #16

Closed chadwhitacre closed 9 years ago

chadwhitacre commented 9 years ago

This might seem pedantic, but one thing that's always bugged me about WSGI is that it's lossy: I can't go from an environ back to exactly the bytes that came in on the wire. Seems like an accident rather than an intentional design decision. It'd be nice if WSGI NG was lossless.

chadwhitacre commented 9 years ago

I'm going to go ahead and close this. I think most of my annoyance around this has been the kludginess of the CGI headers hack, and that's being dealt with on #13. Anyone who wants true HTTP byte-fidelity with Python can use lower-level libraries. WSGI should be optimized for server and framework authors, not researchers.