Thanks for the tip... I installed the LoggingMiddleware and here is
the log:
('RESPONSE',
'200 OK',
[('Pragma', 'no-cache'),
('Cache-Control', 'no-cache'),
('content-type', 'application/pdf; charset=utf-8'),
('Content-disposition',
'attachment; filename="file.pdf"'),
('Content-Length', '17716255')])
mod_wsgi (pid=1123): Exception occurred processing WSGI script '/.../
run.wsgi'.
TypeError: expected string object for header value
I can't see what is the problem with the response... Any ideas?
On Nov 1, 7:01 pm, "Graham Dumpleton" <[EMAIL PROTECTED]>
wrote:
> In your case, it is because some header value is not a Python string
> object. Likely you have it being a Unicode object or perhaps an
> integer literal.
>
> Use first recipe in section:
>
> http://code.google.com/p/modwsgi/wiki/DebuggingTechniques#Tracking_Re...
>
> to capture response headers into log file and look at whether they are
> all string objects, or whether something else.
>
> Graham
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"modwsgi" 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/modwsgi?hl=en
-~----------~----~----~----~------~----~------~--~---