[PEAK] unicode in HTTP headers

Phillip J. Eby pje at telecommunity.com
Thu Dec 16 02:08:48 EST 2004

At 07:41 PM 12/15/2004 +0100, Radek Kanovsky wrote:
>peak.web.simpleRedirect function receives sometimes unicode string as
>location argument from traversing machinery but wsgi publisher doesn't
>like unicode in headers. Unicode ULRs are generated by Locations built
>via sitemap as they have unicode component names.
>The simillar case happens when content-type is specified in template.
>I think that we can simply stringify unicode input in concerned methods.

That would probably do as a quick fix, yes.  I'm out of town at the moment 
and away from my development tools, so it will be a few days before I check 
this in.

More information about the PEAK mailing list