nicolas de loof wrote:
I agree with Brett about moving the DAV Url to a specific entry, as it
requires some specific handlign of GET as Joakim exposed to be compatible
with no-so-compliant Dav clients.
Based on this, if we access the repository as Dav via
/webdav/{repoId}/{path}, and map the /repository/{repoId}/{path} to a new
Get servlet, wy couldn't we combine layout detection with specific URLS ?
I mean /repository/{repoId}/{path} can detect legacy vs default maven
layout
easily based on number of "/" in the path. If the apt path (for example)
overlaps with another supported layout, we simply need to provide an
alternative /apt/{repoId}/{path}. "repository" would then simply be a
reserved keyword for "autodetect requested type".
One point. The layout is currently determined by the setting specified
on the {repoId}, not based on the number of "/" in the path.
- Joakim