Serving text files with a RESTish API using Bottle web framework and mimerender.