>>Does the zero-size is reported by uWSGI logs or nginx one ?
>
> Yes, it is. Here is the uWSGI log entry:
>
> {address space usage: 185155584 bytes/176MB} {rss usage: 42397696
> bytes/40MB} [pid: 2581|app: 0|req: 14/14] 127.0.0.1 () {44 vars in 782
> bytes} [Mon May 23 10:56:11 2011] GET /NotExistedPageTest => generated 0
> bytes in 28 msecs (HTTP/1.1 404) 4 headers in 130 bytes (1 switches on
> core
> 0)
>
> Also, I have checked my app_iter return value (it's actually a list with a
> single element - an instance of <class 'webhelpers.html.builder.literal'>)


Hmm no, wait, the WSGI standard expect a string (or bytestring in Python
3.x) not a 'generic' class instance.

I suppose adding a str() cast to the object will solve your problem.
-- 
Roberto De Ioris
http://unbit.it
_______________________________________________
uWSGI mailing list
[email protected]
http://lists.unbit.it/cgi-bin/mailman/listinfo/uwsgi

Reply via email to