Le 07/06/2012 17:14, Jānis a écrit :
The place in OpenERP's Python code that prepares the response, I
found, is this:
r = werkzeug.wrappers.Response(body, headers=[('Content-Type', mime),
('Content-Length', len(body))])
return r

You can add print(len(body), type(body)) there just to be sure, but I think the response would still be whole at this point.

So you need to check everything between there and the browser. I would bet on some WSGI middleware. To get an idea of where to look, add this:

import traceback
traceback.print_stack()

Each hopefully each middleware will have (at least) one frame on the stack.

--
Simon Sapin


--
You received this message because you are subscribed to the Google Groups 
"pocoo-libs" 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/pocoo-libs?hl=en.

Reply via email to