tarttelin / JavaStubServer

An HTTP server used in tests to provide canned responses to expected requests.
http://tarttelin.github.io/JavaStubServer/
Other
6 stars 5 forks source link

Added support for WebDAV methods. #17

Closed rickb777 closed 8 years ago

rickb777 commented 8 years ago

We needed to test a WebDAV client. The hurdle we had to cross is that the JDK has a "won't fix" issue on the allowed methods names being hard-wired, which we overcame with some reflection code.

With this patch, JavaStubServer methods allow testing of proppatch, propfind, mkcol, move, copy lock and unlock requests.

tarttelin commented 8 years ago

Hi Rick,

I'm happy with the changes you've made. There are currently 2 things slowing me down with merging the pull request:

  1. The travis build is failing;
  2. My VM with the keys for pushing to maven central has died.

If you could have a look at the first one, I'll see what I can do to fix the second.

Cheers,

Chris