I want to receive a request of the form "foo?x=1&y=2&z=3", pick out a file in the filesystem based on that (e.g. "1/2/3.png") and then return that as the response to the request.
Is there a recipe for loading a file and returning the contents plus mime type as the response in a simplate? I started poking through the source to see how Aspen processes requests to return static files, but then I thought I would just be lazy and ask.
Thanks,
--Curtis
--
You received this message because you are subscribed to the Google Groups "aspen-users" group.
To view this discussion on the web visit https://groups.google.com/d/msg/aspen-users/-/jL9Cm5Hw8dIJ.
To post to this group, send email to aspen...@googlegroups.com.
To unsubscribe from this group, send email to aspen-users...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/aspen-users?hl=en.