I wanted to use webpy to deliver different type of output like xml,json or 
html based on the content type request.

I've added support to detect a few content-type type from the client 
request and check for a file with a matching file extension. If found, use 
it, if not, use the old behavior of listing all file and sorting them to 
get the first one.

Here the commit in my fork : 
https://github.com/mochouinard/webpy/commit/28eda03781864069ce1c027ce99650e66dda8528


-- 
You received this message because you are subscribed to the Google Groups 
"web.py" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/webpy.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to