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 to http://localhost/login_handler with 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
-~----------~----~----~----~------~----~------~--~---