http://github.com/rnewman/clj-conneg/tree/master

This is now pretty much finished, apart from more detailed sorting.  
E.g., you can ask:

   (conneg/best-allowed-content-type
     "image/*; q=0.9, text/html; q=0.1, text/plain; q=0.8"
     #{"image/jpeg"})
    =>
    ("image" "jpeg")

i.e., it computes the most acceptable concrete type if it can.

Comments welcome.

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send email to clojure@googlegroups.com
Note that posts from new members are moderated - please be patient with your 
first post.
To unsubscribe from this group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to