mirror of
https://github.com/swisspol/GCDWebServer.git
synced 2026-04-05 00:04:17 +08:00
#35 More work on unit tests
This commit is contained in:
19
Tests/WebDAV-Finder/104-LOCK.request
Executable file
19
Tests/WebDAV-Finder/104-LOCK.request
Executable file
@@ -0,0 +1,19 @@
|
||||
LOCK /PDF%20Reports/Test%20File.txt HTTP/1.1
|
||||
Host: localhost:8080
|
||||
Content-Type: text/xml; charset="utf-8"
|
||||
Depth: 0
|
||||
Timeout: Second-600
|
||||
Accept: */*
|
||||
User-Agent: WebDAVFS/3.0.1 (03018000) Darwin/13.1.0 (x86_64)
|
||||
Content-Length: 229
|
||||
Connection: keep-alive
|
||||
X-GCDWebServer-LockToken: urn:uuid:53F6E66F-FEAE-46B7-B8D7-7E8FFBD6A5C5
|
||||
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<D:lockinfo xmlns:D="DAV:">
|
||||
<D:lockscope><D:exclusive/></D:lockscope>
|
||||
<D:locktype><D:write/></D:locktype>
|
||||
<D:owner>
|
||||
<D:href>http://www.apple.com/webdav_fs/</D:href>
|
||||
</D:owner>
|
||||
</D:lockinfo>
|
||||
Reference in New Issue
Block a user