#8758: Add a top-level /data with static.File(DATA) that serves files from the
data directory
---------------------------+------------------------------------------------
   Reporter:  acleone      |       Owner:  acleone
       Type:  enhancement  |      Status:  new    
   Priority:  trivial      |   Milestone:         
  Component:  notebook     |    Keywords:         
     Author:  Alex Leone   |    Upstream:  N/A    
   Reviewer:               |      Merged:         
Work_issues:               |  
---------------------------+------------------------------------------------
 Instead of having /js, /css, etc, we should serve all static data files
 out of /data.  For now this patch just adds /data using `child_data =
 static.File(DATA)`, where `static.File(path)` is defined in twisted.  It
 will serve files with the correct MIME type based on extension.

 Eventually we should find all the /js and /css paths and change them to
 /data

 At some point in the future we could even implement caching of all the
 static files easily by subclassing static.File(path), and making
 everything in /data cached.

-- 
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/8758>
Sage <http://www.sagemath.org>
Sage: Creating a Viable Open Source Alternative to Magma, Maple, Mathematica, 
and MATLAB

-- 
You received this message because you are subscribed to the Google Groups 
"sage-trac" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/sage-trac?hl=en.

Reply via email to