Jocelyn Fiat
9ec87a4329
Added support during match for {/vars}
...
and also handle cases such as /foo.{format}{/vars} or /foo.{format}{?vars} where no literal exists between the uri template expressions
2011-09-09 08:51:45 +02:00
Jocelyn Fiat
94d4909644
Fixed various issue with URI template, added corresponding tests
2011-07-28 18:45:25 +02:00
Jocelyn Fiat
4940ddb8f5
Fixed issue with matcher
2011-07-22 17:29:17 +02:00
Jocelyn Fiat
0ef88eadf5
Improvement
...
and revert back to support draft 04
(but using custom variable, allow the user to follow draft 05 spec)
2011-07-22 16:58:31 +02:00
Jocelyn Fiat
e1ef4c390e
fixing issue with URI TEMPLATE matcher
2011-07-22 13:14:09 +02:00
Jocelyn Fiat
ac7f58722d
added URI_TEMPLATE_MATCH_RESULT
2011-07-22 08:30:08 +02:00
Jocelyn Fiat
51b70a2490
First version of URI Template library
...
as specified by http://tools.ietf.org/html/draft-gregorio-uritemplate-05
(it seems to contains some error in the spec .. or minor incoherences, to double check)
The matcher is basic, it does not handle all the details of the string builder, but that seems ok for now.
2011-07-20 12:11:05 +02:00