views/static.py small refactoring
|Reported by:||Owned by:||nobody|
|Cc:||Triage Stage:||Design decision needed|
|Has patch:||yes||Needs documentation:||no|
|Needs tests:||no||Patch needs improvement:||no|
If you need to check permissions before allowing access to a static file, you can't use
apache/lighttpd to serve these files.
I changed views/static.py a little, so that you can use HTTP_IF_MODIFIED_SINCE
and mimetype detection for a single file.
Change History (6)
comment:1 Changed 9 years ago by
|Patch needs improvement:||unset|
|Triage Stage:||Unreviewed → Design decision needed|