Pylons/webob — Issue #33: Turn the "file serving" example into usable code
Author: multani
Created: 2012-03-02 04:15:01+00:00
State: open

WebOb documentation includes an example on how to serve a static file through WebOb: http://docs.webob.org/en/latest/file-example.html

Would it be possible to include this code directly into WebOb itself, so that it can be importable and people can reliably use it to serve a file without having to copy/paste the example each time?
It would also be possible to improve the code base, by using the ``wsgi.file_wrapper``, and everybody could benefit from it.

If there's no objection for this change, I'm willing to propose a pull request with the imported code and tests.