clojurewerkz / route-one

Tiny Clojure library that generates HTTP resource routes (as in Ruby on Rails, Jersey, Django, Sinatra, Flask and similar)
94 stars 7 forks source link

RFC 6570 #15

Open squiddle opened 10 years ago

squiddle commented 10 years ago

Would it be feasible to move the pattern definition to a standards proposal like: http://tools.ietf.org/html/rfc6570

Or is this outside of the scope for route-one, as it came from the compojure route-template style.

michaelklishin commented 10 years ago

It can be an extra feature.

michaelklishin commented 10 years ago

We can introduce route-one.uri-template which will mirror all the key functions of route-one.core but using the RFC 6570 syntax for segments. Feel free to work on this and submit a pull request ;)