dev@glassfish.java.net

Re: REST API and slashes in resource names

From: Bruno Harbulot <Bruno.Harbulot_at_manchester.ac.uk>
Date: Fri, 04 Jun 2010 14:58:51 +0100

On 04/06/10 09:31, Paul Sandoz wrote:

>
> Section 2.4 states:
>
> "URI producing applications should percent-encode data octets that
> correspond to characters in the reserved set unless
> these characters are specifically allowed by the URI scheme to represent
> data in that component"
>
> The "sub-delims" set of characters are specifically allowed in the path
> component of a URI.
>
> http://greenbytes.de/tech/webdav/rfc3986.html#path
>
> pchar <http://greenbytes.de/tech/webdav/rfc3986.html#path> =unreserved <http://greenbytes.de/tech/webdav/rfc3986.html#unreserved> /pct-encoded <http://greenbytes.de/tech/webdav/rfc3986.html#percent-encoding> /sub-delims <http://greenbytes.de/tech/webdav/rfc3986.html#reserved> / ":" / "@"
>

Sorry, you are right indeed.


Best wishes,

Bruno.