http://groups.google.com/group/pylons-discuss/browse_thread/thread/74bdb8ef52c0e71b/
The same flup error also happens when using h.redirect_to with a
unicode string. Flup is asserting that the header values be str, so
the redirect_to call passing along a unicode string is a no-no.
Might I suggest that h.redirect_to() flatten all incoming redirection
URL's using str()?
For that matter, perhaps it would be a good idea to make it so that any
and all headers going into a Response are (a) removed if their value is
None, and (b) flattened using str() otherwise.
Chas Emerick
ceme...@snowtide.com