#7 ✓resolved
Ash Berlin

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

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.

New-ticket Create new ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile ยป

Juice JS!

Shared Ticket Bins

People watching this ticket

Tags

Pages