On 06/05/2014 05:39 AM, Christoph Zwerschke wrote:
Am 04.06.2014 12:58, schrieb Tjelvar:
Yesterday we encountered a problem with Waitress when using the newly
released Python 2.7.7 (on windows).
I can confirm this issue on Python 2.7.7. It is obviously caused by the
patch for http://bugs.python.org/issue15207 after which some mime types
are returned as unicode instead of str under Windows.
FWIW, this bug is not in Waitress, but in whatever is setting the
content-type, probably WebOb. WSGI specifies that header keys and
values must be of the native str type, and Waitress is just enforcing
that. It'd be useful if someone could walk through the code that is
setting this header and propose a patch that fixes this under 2.7.7.
- C
--
You received this message because you are subscribed to the Google Groups
"pylons-devel" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to pylons-devel+unsubscr...@googlegroups.com.
To post to this group, send email to pylons-devel@googlegroups.com.
Visit this group at http://groups.google.com/group/pylons-devel.
For more options, visit https://groups.google.com/d/optout.