
Static file serving in the url dict
Reported by Ash Berlin | October 13th, 2009 @ 08:21 AM | in Release 0.1
We dont yet have a nice way of serving a directory of static files from the URL map (or indeed a single file). Something like the following should be made possible:
app.urls = {
'/scripts: { static: DOC_ROOT+'/static/scripts' }
}
and have it serve files (no dir index) with the correct doc type, and ideally the right cache headers – ETag, Last-Modified at the least
Comments and changes to this ticket
-
Ash Berlin October 19th, 2009 @ 03:23 PM
- State changed from new to resolved
Please Sign in or create a free account to add a new ticket.
With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.
Create your profile
Help contribute to this project by taking a few moments to create your personal profile. Create your profile ยป
Juice JS!