Skip to content

[WAGON-583] WebDavWagon and tests do not adhere to RFC 4918 #630

@jira-importer

Description

@jira-importer

Michael Osipov opened WAGON-583 and commented

While working on release 3.4.0 I have noticed several issues (non-exhaustive) with the WebDavWagon:

  • On a PUT request 409 is ignored when parent collections do not exist.
  • Redirects on MKCOL are competely ignored because not the relocation is not passed to mkdirs(), but the original path.
  • Status code management from MKCOL are incomplete.
  • Most tests treat WebDAV like HTTP which is wrong. MKCOL requests are answered with 404.

They are likely many other issues I did not discover or already forgot. A serious amount of time needs to be invested to make this Wagon decently compatible with real world servers and along with real world tests.

Therefore, I propose following options:

  • Bring this on par with the regular HttpWagon
  • Deprecate in 3.x and remove in 4.0.0
  • Mark it especially as unmaintained (abandoned) from 3.x

Affects: 3.3.4

Issue Links:

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions