On 24/03/11 13:40, Kristaps Kūlis  wrote:
> I wish to note that Nginx implements this feature differently than
> LigHTTPd and Apache2
> http://wiki.nginx.org/XSendfile ,
> 
> Should django implementation consider that ?
>

I'd also note that wsgi itself apparently has an api abstraction
wsgi.file_wrapper [1]

I really don't know much about it seeing as directly using apache's
x-sendfile works anyway (and we started out on fcgi then moved later to
wsgi) (at least in cases where we hadn't been storing our files in
postgresql bytea fields anyway...)

But for clean layering, django should maybe go via that in the wsgi case
if you're adding any explicit django-level support for such things.

[1]
http://www.python.org/dev/peps/pep-0333/#optional-platform-specific-file-handling

-- 
You received this message because you are subscribed to the Google Groups 
"Django developers" group.
To post to this group, send email to django-developers@googlegroups.com.
To unsubscribe from this group, send email to 
django-developers+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-developers?hl=en.

Reply via email to