ceylon/ceylon-module-resolver — Issue #11: Cannot lock a folder with webdav if it doesn't exist
Author: FroMage
Created: 2012-02-16 17:54:08+00:00
State: open

Currently when I try to push an artifact to a real webdav server I see the following in the logs:

```
213.27.218.2 - - [16/Feb/2012:11:47:12 -0600] "GET /repo-test//com HTTP/1.1" 401 502
213.27.218.2 - - [16/Feb/2012:11:47:14 -0600] "HEAD /repo-test//com HTTP/1.1" 401 -
213.27.218.2 - - [16/Feb/2012:11:48:41 -0600] "GET /repo-test//com HTTP/1.1" 401 502
213.27.218.2 - - [16/Feb/2012:11:48:42 -0600] "HEAD /repo-test//com HTTP/1.1" 401 -
213.27.218.2 - stephane [16/Feb/2012:11:48:43 -0600] "HEAD /repo-test//com HTTP/1.1" 404 -
213.27.218.2 - stephane [16/Feb/2012:11:48:43 -0600] "HEAD /repo-test//com HTTP/1.1" 404 -
213.27.218.2 - stephane [16/Feb/2012:11:48:44 -0600] "HEAD /repo-test//com/acme HTTP/1.1" 404 -
213.27.218.2 - stephane [16/Feb/2012:11:48:44 -0600] "HEAD /repo-test//com/acme/helloworld HTTP/1.1" 404 -
213.27.218.2 - stephane [16/Feb/2012:11:48:45 -0600] "HEAD /repo-test//com/acme/helloworld/1.0.0 HTTP/1.1" 404 -
213.27.218.2 - stephane [16/Feb/2012:11:48:45 -0600] "LOCK /repo-test//com/acme/helloworld/1.0.0/com.acme.helloworld-1.0.0.src HTTP/1.1" 500 645
```

As you can see we're trying to put a file before we created the containing folders, which is why mod_dav fails and returns a 500.