I think authkit is putting an unicode value into the headers...

I tested TG2 with nginx and mod_wsgi and came to the same problem.


On Nov 15, 11:21 pm, Graham Dumpleton <[EMAIL PROTECTED]>
wrote:
> GustaV wrote:
> > Hello all!
>
> > I get an error in the beta "release" of tg2, served with apache2.2/
> > mod_wsgi, on a quickstart project.
> > A call tohttp://localhost/login_handlerwith correct credentials
> > (e.g. login=manager&password=managepass) raises an error.
>
> > Logs says:
> > [Sat Nov 15 17:43:50 2008] [error] [client 127.0.0.1] mod_wsgi
> > (pid=3040): Exception occurred processing WSGI script 'D:/Sandbox/
> > Essai2/apache/dev_wsgi.wsgi'.
> > [Sat Nov 15 17:43:50 2008] [error] [client 127.0.0.1] TypeError:
> > expected string object for header value
>
> > I tried to look into it a bit, but I didn't manage to have the error
> > location.
>
> WSGI requires that key and values of response headers are Python bytes
> strings. In this case it is likely you or TG2 is returning a Unicode
> string as a value to a response header when it shouldn't be.
>
> Graham
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"TurboGears" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/turbogears?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to