Author: kn
Date: Tue Sep 18 17:07:54 2007
New Revision: 6189
Log:
- Added raw examples from RFC
# Should be converted in format usable by tests
Added:
trunk/Webdav/tests/clients/rfc/
trunk/Webdav/tests/clients/rfc/copy.txt (with props)
trunk/Webdav/tests/clients/rfc/copy_collection.txt (with props)
trunk/Webdav/tests/clients/rfc/copy_overwrite.txt (with props)
trunk/Webdav/tests/clients/rfc/copy_success.txt (with props)
trunk/Webdav/tests/clients/rfc/delete.txt (with props)
trunk/Webdav/tests/clients/rfc/lock_1.txt (with props)
trunk/Webdav/tests/clients/rfc/lock_2.txt (with props)
trunk/Webdav/tests/clients/rfc/lock_3.txt (with props)
trunk/Webdav/tests/clients/rfc/lockdiscovery.txt (with props)
trunk/Webdav/tests/clients/rfc/mkcol.txt (with props)
trunk/Webdav/tests/clients/rfc/move_collection.txt (with props)
trunk/Webdav/tests/clients/rfc/move_resource.txt (with props)
trunk/Webdav/tests/clients/rfc/propfind_allprop.txt (with props)
trunk/Webdav/tests/clients/rfc/propfind_prop.txt (with props)
trunk/Webdav/tests/clients/rfc/propfind_propname.txt (with props)
trunk/Webdav/tests/clients/rfc/proppatch.txt (with props)
trunk/Webdav/tests/clients/rfc/supportedlock.txt (with props)
trunk/Webdav/tests/clients/rfc/unlock.txt (with props)
Added: trunk/Webdav/tests/clients/rfc/copy.txt
==============================================================================
--- trunk/Webdav/tests/clients/rfc/copy.txt (added)
+++ trunk/Webdav/tests/clients/rfc/copy.txt [iso-8859-1] Tue Sep 18 17:07:54
2007
@@ -1,0 +1,10 @@
+>>Request
+
+COPY /~fielding/index.html HTTP/1.1
+Host: www.ics.uci.edu
+Destination: http://www.ics.uci.edu/users/f/fielding/index.html
+
+>>Response
+
+HTTP/1.1 204 No Content
+
Propchange: trunk/Webdav/tests/clients/rfc/copy.txt
------------------------------------------------------------------------------
svn:eol-style = native
Added: trunk/Webdav/tests/clients/rfc/copy_collection.txt
==============================================================================
--- trunk/Webdav/tests/clients/rfc/copy_collection.txt (added)
+++ trunk/Webdav/tests/clients/rfc/copy_collection.txt [iso-8859-1] Tue Sep 18
17:07:54 2007
@@ -1,0 +1,28 @@
+>>Request
+
+COPY /container/ HTTP/1.1
+Host: www.foo.bar
+Destination: http://www.foo.bar/othercontainer/
+Depth: infinity
+Content-Type: text/xml; charset="utf-8"
+Content-Length: xxxx
+
+<?xml version="1.0" encoding="utf-8" ?>
+<d:propertybehavior xmlns:d="DAV:">
+ <d:keepalive>*</d:keepalive>
+</d:propertybehavior>
+
+>>Response
+
+HTTP/1.1 207 Multi-Status
+Content-Type: text/xml; charset="utf-8"
+Content-Length: xxxx
+
+<?xml version="1.0" encoding="utf-8" ?>
+<d:multistatus xmlns:d="DAV:">
+ <d:response>
+ <d:href>http://www.foo.bar/othercontainer/R2/</d:href>
+ <d:status>HTTP/1.1 412 Precondition Failed</d:status>
+ </d:response>
+</d:multistatus>
+
Propchange: trunk/Webdav/tests/clients/rfc/copy_collection.txt
------------------------------------------------------------------------------
svn:eol-style = native
Added: trunk/Webdav/tests/clients/rfc/copy_overwrite.txt
==============================================================================
--- trunk/Webdav/tests/clients/rfc/copy_overwrite.txt (added)
+++ trunk/Webdav/tests/clients/rfc/copy_overwrite.txt [iso-8859-1] Tue Sep 18
17:07:54 2007
@@ -1,0 +1,11 @@
+>>Request
+
+COPY /~fielding/index.html HTTP/1.1
+Host: www.ics.uci.edu
+Destination: http://www.ics.uci.edu/users/f/fielding/index.html
+Overwrite: F
+
+>>Response
+
+HTTP/1.1 412 Precondition Failed
+
Propchange: trunk/Webdav/tests/clients/rfc/copy_overwrite.txt
------------------------------------------------------------------------------
svn:eol-style = native
Added: trunk/Webdav/tests/clients/rfc/copy_success.txt
==============================================================================
--- trunk/Webdav/tests/clients/rfc/copy_success.txt (added)
+++ trunk/Webdav/tests/clients/rfc/copy_success.txt [iso-8859-1] Tue Sep 18
17:07:54 2007
@@ -1,0 +1,10 @@
+>>Request
+
+COPY /~fielding/index.html HTTP/1.1
+Host: www.ics.uci.edu
+Destination: http://www.ics.uci.edu/users/f/fielding/index.html
+
+>>Response
+
+HTTP/1.1 204 No Content
+
Propchange: trunk/Webdav/tests/clients/rfc/copy_success.txt
------------------------------------------------------------------------------
svn:eol-style = native
Added: trunk/Webdav/tests/clients/rfc/delete.txt
==============================================================================
--- trunk/Webdav/tests/clients/rfc/delete.txt (added)
+++ trunk/Webdav/tests/clients/rfc/delete.txt [iso-8859-1] Tue Sep 18 17:07:54
2007
@@ -1,0 +1,19 @@
+>>Request
+
+DELETE /container/ HTTP/1.1
+Host: www.foo.bar
+
+>>Response
+
+HTTP/1.1 207 Multi-Status
+Content-Type: text/xml; charset="utf-8"
+Content-Length: xxxx
+
+<?xml version="1.0" encoding="utf-8" ?>
+<d:multistatus xmlns:d="DAV:">
+ <d:response>
+ <d:href>http://www.foo.bar/container/resource3</d:href>
+ <d:status>HTTP/1.1 423 Locked</d:status>
+ </d:response>
+</d:multistatus>
+
Propchange: trunk/Webdav/tests/clients/rfc/delete.txt
------------------------------------------------------------------------------
svn:eol-style = native
Added: trunk/Webdav/tests/clients/rfc/lock_1.txt
==============================================================================
--- trunk/Webdav/tests/clients/rfc/lock_1.txt (added)
+++ trunk/Webdav/tests/clients/rfc/lock_1.txt [iso-8859-1] Tue Sep 18 17:07:54
2007
@@ -1,0 +1,49 @@
+>>Request
+
+LOCK /workspace/webdav/proposal.doc HTTP/1.1
+Host: webdav.sb.aol.com
+Timeout: Infinite, Second-4100000000
+Content-Type: text/xml; charset="utf-8"
+Content-Length: xxxx
+Authorization: Digest username="ejw",
+ realm="[EMAIL PROTECTED]", nonce="...",
+ uri="/workspace/webdav/proposal.doc",
+ response="...", opaque="..."
+
+<?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.ics.uci.edu/~ejw/contact.html</D:href>
+ </D:owner>
+</D:lockinfo>
+
+>>Response
+
+HTTP/1.1 200 OK
+Content-Type: text/xml; charset="utf-8"
+Content-Length: xxxx
+
+<?xml version="1.0" encoding="utf-8" ?>
+<D:prop xmlns:D="DAV:">
+ <D:lockdiscovery>
+ <D:activelock>
+ <D:locktype><D:write/></D:locktype>
+ <D:lockscope><D:exclusive/></D:lockscope>
+ <D:depth>Infinity</D:depth>
+ <D:owner>
+ <D:href>
+ http://www.ics.uci.edu/~ejw/contact.html
+ </D:href>
+ </D:owner>
+ <D:timeout>Second-604800</D:timeout>
+ <D:locktoken>
+ <D:href>
+ opaquelocktoken:e71d4fae-5dec-22d6-fea5-00a0c91e6be4
+ </D:href>
+ </D:locktoken>
+ </D:activelock>
+ </D:lockdiscovery>
+</D:prop>
+
Propchange: trunk/Webdav/tests/clients/rfc/lock_1.txt
------------------------------------------------------------------------------
svn:eol-style = native
Added: trunk/Webdav/tests/clients/rfc/lock_2.txt
==============================================================================
--- trunk/Webdav/tests/clients/rfc/lock_2.txt (added)
+++ trunk/Webdav/tests/clients/rfc/lock_2.txt [iso-8859-1] Tue Sep 18 17:07:54
2007
@@ -1,0 +1,39 @@
+>>Request
+
+LOCK /workspace/webdav/proposal.doc HTTP/1.1
+Host: webdav.sb.aol.com
+Timeout: Infinite, Second-4100000000
+If: (<opaquelocktoken:e71d4fae-5dec-22d6-fea5-00a0c91e6be4>)
+Authorization: Digest username="ejw",
+ realm="[EMAIL PROTECTED]", nonce="...",
+ uri="/workspace/webdav/proposal.doc",
+ response="...", opaque="..."
+
+>>Response
+
+HTTP/1.1 200 OK
+Content-Type: text/xml; charset="utf-8"
+Content-Length: xxxx
+
+<?xml version="1.0" encoding="utf-8" ?>
+<D:prop xmlns:D="DAV:">
+ <D:lockdiscovery>
+ <D:activelock>
+ <D:locktype><D:write/></D:locktype>
+ <D:lockscope><D:exclusive/></D:lockscope>
+ <D:depth>Infinity</D:depth>
+ <D:owner>
+ <D:href>
+ http://www.ics.uci.edu/~ejw/contact.html
+ </D:href>
+ </D:owner>
+ <D:timeout>Second-604800</D:timeout>
+ <D:locktoken>
+ <D:href>
+ opaquelocktoken:e71d4fae-5dec-22d6-fea5-00a0c91e6be4
+ </D:href>
+ </D:locktoken>
+ </D:activelock>
+ </D:lockdiscovery>
+</D:prop>
+
Propchange: trunk/Webdav/tests/clients/rfc/lock_2.txt
------------------------------------------------------------------------------
svn:eol-style = native
Added: trunk/Webdav/tests/clients/rfc/lock_3.txt
==============================================================================
--- trunk/Webdav/tests/clients/rfc/lock_3.txt (added)
+++ trunk/Webdav/tests/clients/rfc/lock_3.txt [iso-8859-1] Tue Sep 18 17:07:54
2007
@@ -1,0 +1,43 @@
+>>Request
+
+LOCK /webdav/ HTTP/1.1
+Host: webdav.sb.aol.com
+Timeout: Infinite, Second-4100000000
+Depth: infinity
+Content-Type: text/xml; charset="utf-8"
+Content-Length: xxxx
+Authorization: Digest username="ejw",
+ realm="[EMAIL PROTECTED]", nonce="...",
+ uri="/workspace/webdav/proposal.doc",
+ response="...", opaque="..."
+
+<?xml version="1.0" encoding="utf-8" ?>
+<D:lockinfo xmlns:D="DAV:">
+ <D:locktype><D:write/></D:locktype>
+ <D:lockscope><D:exclusive/></D:lockscope>
+ <D:owner>
+ <D:href>http://www.ics.uci.edu/~ejw/contact.html</D:href>
+ </D:owner>
+</D:lockinfo>
+
+>>Response
+
+HTTP/1.1 207 Multi-Status
+Content-Type: text/xml; charset="utf-8"
+Content-Length: xxxx
+
+<?xml version="1.0" encoding="utf-8" ?>
+<D:multistatus xmlns:D="DAV:">
+ <D:response>
+ <D:href>http://webdav.sb.aol.com/webdav/secret</D:href>
+ <D:status>HTTP/1.1 403 Forbidden</D:status>
+ </D:response>
+ <D:response>
+ <D:href>http://webdav.sb.aol.com/webdav/</D:href>
+ <D:propstat>
+ <D:prop><D:lockdiscovery/></D:prop>
+ <D:status>HTTP/1.1 424 Failed Dependency</D:status>
+ </D:propstat>
+ </D:response>
+</D:multistatus>
+
Propchange: trunk/Webdav/tests/clients/rfc/lock_3.txt
------------------------------------------------------------------------------
svn:eol-style = native
Added: trunk/Webdav/tests/clients/rfc/lockdiscovery.txt
==============================================================================
--- trunk/Webdav/tests/clients/rfc/lockdiscovery.txt (added)
+++ trunk/Webdav/tests/clients/rfc/lockdiscovery.txt [iso-8859-1] Tue Sep 18
17:07:54 2007
@@ -1,0 +1,44 @@
+>>Request
+
+PROPFIND /container/ HTTP/1.1
+Host: www.foo.bar
+Content-Length: xxxx
+Content-Type: text/xml; charset="utf-8"
+
+<?xml version="1.0" encoding="utf-8" ?>
+<D:propfind xmlns:D='DAV:'>
+ <D:prop><D:lockdiscovery/></D:prop>
+</D:propfind>
+
+>>Response
+
+HTTP/1.1 207 Multi-Status
+Content-Type: text/xml; charset="utf-8"
+Content-Length: xxxx
+
+<?xml version="1.0" encoding="utf-8" ?>
+<D:multistatus xmlns:D='DAV:'>
+ <D:response>
+ <D:href>http://www.foo.bar/container/</D:href>
+ <D:propstat>
+ <D:prop>
+ <D:lockdiscovery>
+ <D:activelock>
+ <D:locktype><D:write/></D:locktype>
+ <D:lockscope><D:exclusive/></D:lockscope>
+ <D:depth>0</D:depth>
+ <D:owner>Jane Smith</D:owner>
+ <D:timeout>Infinite</D:timeout>
+ <D:locktoken>
+ <D:href>
+ opaquelocktoken:f81de2ad-7f3d-a1b2-4f3c-00a0c91a9d76
+ </D:href>
+ </D:locktoken>
+ </D:activelock>
+ </D:lockdiscovery>
+ </D:prop>
+ <D:status>HTTP/1.1 200 OK</D:status>
+ </D:propstat>
+ </D:response>
+</D:multistatus>
+
Propchange: trunk/Webdav/tests/clients/rfc/lockdiscovery.txt
------------------------------------------------------------------------------
svn:eol-style = native
Added: trunk/Webdav/tests/clients/rfc/mkcol.txt
==============================================================================
--- trunk/Webdav/tests/clients/rfc/mkcol.txt (added)
+++ trunk/Webdav/tests/clients/rfc/mkcol.txt [iso-8859-1] Tue Sep 18 17:07:54
2007
@@ -1,0 +1,9 @@
+>>Request
+
+MKCOL /webdisc/xfiles/ HTTP/1.1
+Host: www.server.org
+
+>>Response
+
+HTTP/1.1 201 Created
+
Propchange: trunk/Webdav/tests/clients/rfc/mkcol.txt
------------------------------------------------------------------------------
svn:eol-style = native
Added: trunk/Webdav/tests/clients/rfc/move_collection.txt
==============================================================================
--- trunk/Webdav/tests/clients/rfc/move_collection.txt (added)
+++ trunk/Webdav/tests/clients/rfc/move_collection.txt [iso-8859-1] Tue Sep 18
17:07:54 2007
@@ -1,0 +1,30 @@
+>>Request
+
+MOVE /container/ HTTP/1.1
+Host: www.foo.bar
+Destination: http://www.foo.bar/othercontainer/
+Overwrite: F
+If: (<opaquelocktoken:fe184f2e-6eec-41d0-c765-01adc56e6bb4>)
+ (<opaquelocktoken:e454f3f3-acdc-452a-56c7-00a5c91e4b77>)
+Content-Type: text/xml; charset="utf-8"
+Content-Length: xxxx
+
+<?xml version="1.0" encoding="utf-8" ?>
+<d:propertybehavior xmlns:d='DAV:'>
+ <d:keepalive>*</d:keepalive>
+</d:propertybehavior>
+
+>>Response
+
+HTTP/1.1 207 Multi-Status
+Content-Type: text/xml; charset="utf-8"
+Content-Length: xxxx
+
+<?xml version="1.0" encoding="utf-8" ?>
+<d:multistatus xmlns:d='DAV:'>
+ <d:response>
+ <d:href>http://www.foo.bar/othercontainer/C2/</d:href>
+ <d:status>HTTP/1.1 423 Locked</d:status>
+ </d:response>
+</d:multistatus>
+
Propchange: trunk/Webdav/tests/clients/rfc/move_collection.txt
------------------------------------------------------------------------------
svn:eol-style = native
Added: trunk/Webdav/tests/clients/rfc/move_resource.txt
==============================================================================
--- trunk/Webdav/tests/clients/rfc/move_resource.txt (added)
+++ trunk/Webdav/tests/clients/rfc/move_resource.txt [iso-8859-1] Tue Sep 18
17:07:54 2007
@@ -1,0 +1,11 @@
+>>Request
+
+MOVE /~fielding/index.html HTTP/1.1
+Host: www.ics.uci.edu
+Destination: http://www.ics.uci.edu/users/f/fielding/index.html
+
+>>Response
+
+HTTP/1.1 201 Created
+Location: http://www.ics.uci.edu/users/f/fielding/index.html
+
Propchange: trunk/Webdav/tests/clients/rfc/move_resource.txt
------------------------------------------------------------------------------
svn:eol-style = native
Added: trunk/Webdav/tests/clients/rfc/propfind_allprop.txt
==============================================================================
--- trunk/Webdav/tests/clients/rfc/propfind_allprop.txt (added)
+++ trunk/Webdav/tests/clients/rfc/propfind_allprop.txt [iso-8859-1] Tue Sep 18
17:07:54 2007
@@ -1,0 +1,94 @@
+>>Request
+
+PROPFIND /container/ HTTP/1.1
+Host: www.foo.bar
+Depth: 1
+Content-Type: text/xml; charset="utf-8"
+Content-Length: xxxx
+
+<?xml version="1.0" encoding="utf-8" ?>
+<D:propfind xmlns:D="DAV:">
+ <D:allprop/>
+</D:propfind>
+
+>>Response
+
+HTTP/1.1 207 Multi-Status
+Content-Type: text/xml; charset="utf-8"
+Content-Length: xxxx
+
+<?xml version="1.0" encoding="utf-8" ?>
+<D:multistatus xmlns:D="DAV:">
+ <D:response>
+ <D:href>http://www.foo.bar/container/</D:href>
+ <D:propstat>
+ <D:prop xmlns:R="http://www.foo.bar/boxschema/">
+ <R:bigbox>
+ <R:BoxType>Box type A</R:BoxType>
+ </R:bigbox>
+ <R:author>
+ <R:Name>Hadrian</R:Name>
+ </R:author>
+ <D:creationdate>
+ 1997-12-01T17:42:21-08:00
+ </D:creationdate>
+ <D:displayname>
+ Example collection
+ </D:displayname>
+ <D:resourcetype><D:collection/></D:resourcetype>
+ <D:supportedlock>
+ <D:lockentry>
+ <D:lockscope><D:exclusive/></D:lockscope>
+ <D:locktype><D:write/></D:locktype>
+ </D:lockentry>
+ <D:lockentry>
+ <D:lockscope><D:shared/></D:lockscope>
+ <D:locktype><D:write/></D:locktype>
+ </D:lockentry>
+ </D:supportedlock>
+ </D:prop>
+ <D:status>HTTP/1.1 200 OK</D:status>
+ </D:propstat>
+ </D:response>
+ <D:response>
+ <D:href>http://www.foo.bar/container/front.html</D:href>
+ <D:propstat>
+ <D:prop xmlns:R="http://www.foo.bar/boxschema/">
+ <R:bigbox>
+ <R:BoxType>Box type B</R:BoxType>
+ </R:bigbox>
+ <D:creationdate>
+ 1997-12-01T18:27:21-08:00
+ </D:creationdate>
+ <D:displayname>
+ Example HTML resource
+ </D:displayname>
+ <D:getcontentlength>
+ 4525
+ </D:getcontentlength>
+ <D:getcontenttype>
+ text/html
+ </D:getcontenttype>
+ <D:getetag>
+ zzyzx
+ </D:getetag>
+ <D:getlastmodified>
+ Monday, 12-Jan-98 09:25:56 GMT
+ </D:getlastmodified>
+ <D:resourcetype/>
+ <D:supportedlock>
+ <D:lockentry>
+ <D:lockscope><D:exclusive/></D:lockscope>
+ <D:locktype><D:write/></D:locktype>
+ </D:lockentry>
+ <D:lockentry>
+ <D:lockscope><D:shared/></D:lockscope>
+ <D:locktype><D:write/></D:locktype>
+ </D:lockentry>
+ </D:supportedlock>
+ </D:prop>
+ <D:status>HTTP/1.1 200 OK</D:status>
+ </D:propstat>
+ </D:response>
+</D:multistatus>
+
Propchange: trunk/Webdav/tests/clients/rfc/propfind_allprop.txt
------------------------------------------------------------------------------
svn:eol-style = native
Added: trunk/Webdav/tests/clients/rfc/propfind_prop.txt
==============================================================================
--- trunk/Webdav/tests/clients/rfc/propfind_prop.txt (added)
+++ trunk/Webdav/tests/clients/rfc/propfind_prop.txt [iso-8859-1] Tue Sep 18
17:07:54 2007
@@ -1,0 +1,49 @@
+>>Request
+
+PROPFIND /file HTTP/1.1
+Host: www.foo.bar
+Content-type: text/xml; charset="utf-8"
+Content-Length: xxxx
+
+<?xml version="1.0" encoding="utf-8" ?>
+<D:propfind xmlns:D="DAV:">
+ <D:prop xmlns:R="http://www.foo.bar/boxschema/">
+ <R:bigbox/>
+ <R:author/>
+ <R:DingALing/>
+ <R:Random/>
+ </D:prop>
+</D:propfind>
+
+>>Response
+
+HTTP/1.1 207 Multi-Status
+Content-Type: text/xml; charset="utf-8"
+Content-Length: xxxx
+
+<?xml version="1.0" encoding="utf-8" ?>
+<D:multistatus xmlns:D="DAV:">
+ <D:response>
+ <D:href>http://www.foo.bar/file</D:href>
+ <D:propstat>
+ <D:prop xmlns:R="http://www.foo.bar/boxschema/">
+ <R:bigbox>
+ <R:BoxType>Box type A</R:BoxType>
+ </R:bigbox>
+ <R:author>
+ <R:Name>J.J. Johnson</R:Name>
+ </R:author>
+ </D:prop>
+ <D:status>HTTP/1.1 200 OK</D:status>
+ </D:propstat>
+ <D:propstat>
+ <D:prop><R:DingALing/><R:Random/></D:prop>
+ <D:status>HTTP/1.1 403 Forbidden</D:status>
+ <D:responsedescription> The user does not have access to
+the DingALing property.
+ </D:responsedescription>
+ </D:propstat>
+ </D:response>
+ <D:responsedescription> There has been an access violation error.
+ </D:responsedescription>
+</D:multistatus>
Propchange: trunk/Webdav/tests/clients/rfc/propfind_prop.txt
------------------------------------------------------------------------------
svn:eol-style = native
Added: trunk/Webdav/tests/clients/rfc/propfind_propname.txt
==============================================================================
--- trunk/Webdav/tests/clients/rfc/propfind_propname.txt (added)
+++ trunk/Webdav/tests/clients/rfc/propfind_propname.txt [iso-8859-1] Tue Sep
18 17:07:54 2007
@@ -1,0 +1,52 @@
+>>Request
+
+PROPFIND /container/ HTTP/1.1
+Host: www.foo.bar
+Content-Type: text/xml; charset="utf-8"
+Content-Length: xxxx
+
+<?xml version="1.0" encoding="utf-8" ?>
+<propfind xmlns="DAV:">
+ <propname/>
+</propfind>
+
+>>Response
+
+HTTP/1.1 207 Multi-Status
+Content-Type: text/xml; charset="utf-8"
+Content-Length: xxxx
+
+<?xml version="1.0" encoding="utf-8" ?>
+<multistatus xmlns="DAV:">
+ <response>
+ <href>http://www.foo.bar/container/</href>
+ <propstat>
+ <prop xmlns:R="http://www.foo.bar/boxschema/">
+ <R:bigbox/>
+ <R:author/>
+ <creationdate/>
+ <displayname/>
+ <resourcetype/>
+ <supportedlock/>
+ </prop>
+ <status>HTTP/1.1 200 OK</status>
+ </propstat>
+ </response>
+ <response>
+ <href>http://www.foo.bar/container/front.html</href>
+ <propstat>
+ <prop xmlns:R="http://www.foo.bar/boxschema/">
+ <R:bigbox/>
+ <creationdate/>
+ <displayname/>
+ <getcontentlength/>
+ <getcontenttype/>
+ <getetag/>
+ <getlastmodified/>
+ <resourcetype/>
+ <supportedlock/>
+ </prop>
+ <status>HTTP/1.1 200 OK</status>
+ </propstat>
+ </response>
+</multistatus>
Propchange: trunk/Webdav/tests/clients/rfc/propfind_propname.txt
------------------------------------------------------------------------------
svn:eol-style = native
Added: trunk/Webdav/tests/clients/rfc/proppatch.txt
==============================================================================
--- trunk/Webdav/tests/clients/rfc/proppatch.txt (added)
+++ trunk/Webdav/tests/clients/rfc/proppatch.txt [iso-8859-1] Tue Sep 18
17:07:54 2007
@@ -1,0 +1,47 @@
+>>Request
+
+PROPPATCH /bar.html HTTP/1.1
+Host: www.foo.com
+Content-Type: text/xml; charset="utf-8"
+Content-Length: xxxx
+
+<?xml version="1.0" encoding="utf-8" ?>
+<D:propertyupdate xmlns:D="DAV:"
+xmlns:Z="http://www.w3.com/standards/z39.50/">
+ <D:set>
+ <D:prop>
+ <Z:authors>
+ <Z:Author>Jim Whitehead</Z:Author>
+ <Z:Author>Roy Fielding</Z:Author>
+ </Z:authors>
+ </D:prop>
+ </D:set>
+ <D:remove>
+ <D:prop><Z:Copyright-Owner/></D:prop>
+ </D:remove>
+</D:propertyupdate>
+
+>>Response
+
+HTTP/1.1 207 Multi-Status
+Content-Type: text/xml; charset="utf-8"
+Content-Length: xxxx
+
+<?xml version="1.0" encoding="utf-8" ?>
+<D:multistatus xmlns:D="DAV:"
+xmlns:Z="http://www.w3.com/standards/z39.50">
+ <D:response>
+ <D:href>http://www.foo.com/bar.html</D:href>
+ <D:propstat>
+ <D:prop><Z:Authors/></D:prop>
+ <D:status>HTTP/1.1 424 Failed Dependency</D:status>
+ </D:propstat>
+ <D:propstat>
+ <D:prop><Z:Copyright-Owner/></D:prop>
+ <D:status>HTTP/1.1 409 Conflict</D:status>
+ </D:propstat>
+ <D:responsedescription> Copyright Owner can not be deleted or
+altered.</D:responsedescription>
+ </D:response>
+</D:multistatus>
+
Propchange: trunk/Webdav/tests/clients/rfc/proppatch.txt
------------------------------------------------------------------------------
svn:eol-style = native
Added: trunk/Webdav/tests/clients/rfc/supportedlock.txt
==============================================================================
--- trunk/Webdav/tests/clients/rfc/supportedlock.txt (added)
+++ trunk/Webdav/tests/clients/rfc/supportedlock.txt [iso-8859-1] Tue Sep 18
17:07:54 2007
@@ -1,0 +1,40 @@
+>>Request
+
+PROPFIND /container/ HTTP/1.1
+Host: www.foo.bar
+Content-Length: xxxx
+Content-Type: text/xml; charset="utf-8"
+
+<?xml version="1.0" encoding="utf-8" ?>
+<D:propfind xmlns:D="DAV:">
+ <D:prop><D:supportedlock/></D:prop>
+</D:propfind>
+
+>>Response
+
+HTTP/1.1 207 Multi-Status
+Content-Type: text/xml; charset="utf-8"
+Content-Length: xxxx
+
+<?xml version="1.0" encoding="utf-8" ?>
+<D:multistatus xmlns:D="DAV:">
+ <D:response>
+ <D:href>http://www.foo.bar/container/</D:href>
+ <D:propstat>
+ <D:prop>
+ <D:supportedlock>
+ <D:lockentry>
+ <D:lockscope><D:exclusive/></D:lockscope>
+ <D:locktype><D:write/></D:locktype>
+ </D:lockentry>
+ <D:lockentry>
+ <D:lockscope><D:shared/></D:lockscope>
+ <D:locktype><D:write/></D:locktype>
+ </D:lockentry>
+ </D:supportedlock>
+ </D:prop>
+ <D:status>HTTP/1.1 200 OK</D:status>
+ </D:propstat>
+ </D:response>
+</D:multistatus>
+
Propchange: trunk/Webdav/tests/clients/rfc/supportedlock.txt
------------------------------------------------------------------------------
svn:eol-style = native
Added: trunk/Webdav/tests/clients/rfc/unlock.txt
==============================================================================
--- trunk/Webdav/tests/clients/rfc/unlock.txt (added)
+++ trunk/Webdav/tests/clients/rfc/unlock.txt [iso-8859-1] Tue Sep 18 17:07:54
2007
@@ -1,0 +1,14 @@
+>>Request
+
+UNLOCK /workspace/webdav/info.doc HTTP/1.1
+Host: webdav.sb.aol.com
+Lock-Token: <opaquelocktoken:a515cfa4-5da4-22e1-f5b5-00a0451e6bf7>
+Authorization: Digest username="ejw",
+ realm="[EMAIL PROTECTED]", nonce="...",
+ uri="/workspace/webdav/proposal.doc",
+ response="...", opaque="..."
+
+>>Response
+
+HTTP/1.1 204 No Content
+
Propchange: trunk/Webdav/tests/clients/rfc/unlock.txt
------------------------------------------------------------------------------
svn:eol-style = native
--
svn-components mailing list
[email protected]
http://lists.ez.no/mailman/listinfo/svn-components