marrow / WebCore

WebCore, the super tiny and blazingly fast modular Python web nanoframework.
MIT License
96 stars 9 forks source link

Static File Serving Controller #118

Closed amcgregor closed 9 years ago

amcgregor commented 12 years ago

An "embeddable application" to serve static files. Can be used attached or as a mix-in.

Should support various methods to deliver the file, X-Sendfile, kernel sendfile support (if we can get the underlying socket fd), etc. falling back on WSGI streaming.

amcgregor commented 9 years ago

Initial version complete; does not support X-Sendfile yet, nor does it support serving files from EGG or Wheel packages.