juergen 2002/07/16 06:43:51
Modified:
testsuite/testsuite/junit/xmltestcases/DeltaV/functional/Working_resource_feature/Working_resource_properties
Propfindauto-update.xml
Log:
corrected response of propfind command
Revision Changes Path
1.3 +69 -9
jakarta-slide/testsuite/testsuite/junit/xmltestcases/DeltaV/functional/Working_resource_feature/Working_resource_properties/Propfindauto-update.xml
Index: Propfindauto-update.xml
===================================================================
RCS file:
/home/cvs/jakarta-slide/testsuite/testsuite/junit/xmltestcases/DeltaV/functional/Working_resource_feature/Working_resource_properties/Propfindauto-update.xml,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- Propfindauto-update.xml 11 Jul 2002 12:28:02 -0000 1.2
+++ Propfindauto-update.xml 16 Jul 2002 13:43:51 -0000 1.3
@@ -59,36 +59,96 @@
<response>
<command>HTTP/1.0 200 OK</command>
</response>
- </step>
-
- <step>
+ </step>
+
+ <step>
<request>
- <command
varUsage="globalVariableCollection,userNumber,globalVariableServerName">PROPFIND
/%globalVariableServerName%/workingresource/1 HTTP/1.1</command>
+ <command
varUsage="globalVariableCollection,userNumber,globalVariableServerName">PROPFIND
/%globalVariableServerName%/%globalVariableCollection%/test.xml HTTP/1.1</command>
<header>Accept-Language: en-us</header>
<header>Content-Type: text/xml</header>
<header>Translate: f</header>
<header>Depth: 1</header>
<header>User-Agent: Microsoft Data Access Internet Publishing
Provider DAV</header>
<header>Connection: Keep-Alive</header>
- <body><![CDATA[<?xml version="1.0" ?><D:propfind
xmlns:D="DAV:"><D:prop><D:auto-update/></D:prop></D:propfind>]]></body>
+ <body><![CDATA[<?xml version="1.0" ?><D:propfind
xmlns:D="DAV:"><D:prop><D:checked-out/></D:prop></D:propfind>]]></body>
</request>
<response>
- <command>HTTP/1.0 666 Multi Status</command>
+ <command>HTTP/1.0 207 Multi Status</command>
<header>Servlet-Engine: Tomcat Web Server/3.2.1 (JSP 1.1; Servlet
2.2; Java 1.3.0_02; Windows NT 4.0 x86; java.vendor=Sun Microsystems Inc.)</header>
- <body
varUsage="globalVariableCollection,VHR,globalVariableServerName" varDefinition="VHR"
varPath="multistatus/response/propstat/prop/checked-out/href"><![CDATA[<?xml
version="1.0" encoding="utf-8" ?>
- <multistatus xmlns="DAV:">
+ <body
varUsage="globalVariableCollection,VHR1,globalVariableServerName" varDefinition="VHR1"
varPath="multistatus/response/propstat/prop/checked-out/href"><![CDATA[<?xml
version="1.0" encoding="utf-8" ?>
+<multistatus xmlns="DAV:">
<response>
<href>/%globalVariableServerName%/%globalVariableCollection%/test.xml</href>
<propstat>
<prop>
<checked-out>
- <href>%VHR%</href>
+ <href>%VHR1%</href>
</checked-out>
</prop>
<status>HTTP/1.1 200 OK</status>
</propstat>
</response>
</multistatus>]]>
+ </body>
+ </response>
+ </step>
+
+ <step>
+ <request>
+ <command
varUsage="globalVariableCollection,userNumber,globalVariableServerName">REPORT
/%globalVariableServerName%/%globalVariableCollection%/test.xml HTTP/1.1</command>
+ <header>Accept-Language: en-us</header>
+ <header>Content-Type: text/xml</header>
+ <body><![CDATA[<D:version-tree
xmlns:D="DAV:"><D:prop><D:checkout-set/></D:prop></D:version-tree>]]></body>
+ </request>
+ <response>
+ <command>HTTP/1.0 207 Multi Status</command>
+ <header>Servlet-Engine: Tomcat Web Server/3.2.1 (JSP 1.1; Servlet
2.2; Java 1.3.0_02; Windows NT 4.0 x86; java.vendor=Sun Microsystems Inc.)</header>
+ <body varUsage="WRS,VHR1" varDefinition="WRS"
varPath="multistatus/response/propstat/prop/checkout-set/href"><![CDATA[<?xml
version="1.0" encoding="utf-8" ?>
+<D:multistatus xmlns:D="DAV:">
+ <D:response>
+ <D:href>%VHR1%</D:href>
+ <D:propstat>
+ <D:prop>
+ <D:checkout-set>
+ <D:href>%WRS%</D:href>
+ </D:checkout-set>
+ </D:prop>
+ <D:status>HTTP/1.1 200 OK</D:status>
+ </D:propstat>
+ </D:response>
+</D:multistatus>]]>
+ </body>
+ </response>
+ </step>
+
+ <step>
+ <request>
+ <command varUsage="WRS">PROPFIND %WRS% HTTP/1.1</command>
+ <header>Accept-Language: en-us</header>
+ <header>Content-Type: text/xml</header>
+ <header>Translate: f</header>
+ <header>Depth: 1</header>
+ <header>User-Agent: Microsoft Data Access Internet Publishing
Provider DAV</header>
+ <header>Connection: Keep-Alive</header>
+ <body><![CDATA[<?xml version="1.0" ?><D:propfind
xmlns:D="DAV:"><D:prop><D:auto-update/></D:prop></D:propfind>]]></body>
+ </request>
+ <response>
+ <command>HTTP/1.0 207 Multi Status</command>
+ <header>Servlet-Engine: Tomcat Web Server/3.2.1 (JSP 1.1; Servlet
2.2; Java 1.3.0_02; Windows NT 4.0 x86; java.vendor=Sun Microsystems Inc.)</header>
+ <body
varUsage="globalVariableCollection,WRS,globalVariableServerName" varDefinition="VHR"
varPath="multistatus/response/propstat/prop/checked-out/href"><![CDATA[<?xml
version="1.0" encoding="utf-8" ?>
+<D:multistatus xmlns:D="DAV:">
+ <D:response>
+ <D:href>%WRS%</D:href>
+ <D:propstat>
+ <D:prop>
+ <D:auto-update>
+
<D:href>/%globalVariableServerName%/%globalVariableCollection%/test.xml</D:href>
+ </D:auto-update>
+ </D:prop>
+ <D:status>HTTP/1.1 200 OK</D:status>
+ </D:propstat>
+ </D:response>
+</D:multistatus>]]>
</body>
</response>
</step>
--
To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>