dev@jersey.java.net

Re: Ending '/' is required for UriTemplate value?

From: Nam Nguyen <Nam.Nguyen_at_Sun.COM>
Date: Fri, 03 Aug 2007 10:30:56 -0700

Hi Paul,
>
> Terminating a URI template with a '/' also has another function: if
> the matching request URI does not terminate with a '/' then the client
> is redirected to a request URI that terminates with a '/'.
Could runtime implementation is such that UriTemplate("customers") and
UriTemplate("customers/") identify the same resource?

I think it would be confusing if we have:
   http://somehost/customers
and:
   http://somehost/customers/
locate 2 different things.

-Nam