juergen 2002/10/01 07:15:05
Modified: testsuite/testsuite/junit/xmltestcases/DASL/functional/select/ACL
denyReadACLSearch.xml
Log:
the forbidden error (reading a property) is now packed into a 207.
Revision Changes Path
1.9 +15 -14
jakarta-slide/testsuite/testsuite/junit/xmltestcases/DASL/functional/select/ACL/denyReadACLSearch.xml
Index: denyReadACLSearch.xml
===================================================================
RCS file:
/home/cvs/jakarta-slide/testsuite/testsuite/junit/xmltestcases/DASL/functional/select/ACL/denyReadACLSearch.xml,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -r1.8 -r1.9
--- denyReadACLSearch.xml 13 Aug 2002 12:45:21 -0000 1.8
+++ denyReadACLSearch.xml 1 Oct 2002 14:15:05 -0000 1.9
@@ -15,17 +15,10 @@
<step>
<request>
<command
varUsage="userNumber,globalVariableCollection,globalVariableServerName">PUT
/%globalVariableServerName%/%globalVariableCollection%/acl_dasl.xml HTTP/1.1</command>
- <header>Accept-Language: en-us</header>
- <header>Translate: f</header>
- <header>User-Agent: Microsoft Data Access Internet Publishing
Provider DAV</header>
- <header>Connection: Keep-Alive</header>
<body
fileReference="../../../../contentDirectory/validXML.xm1"/>
</request>
<response>
<command>HTTP/1.0 201 Created</command>
- <header>Date: Mon, 12 Mar 2001 17:21:35 GMT+01:00</header>
- <header>Content-Language: en</header>
- <header>Servlet-Engine: Tomcat Web Server/3.2 beta 4 (JSP 1.1;
Servlet 2.2; Java 1.3.0; Windows NT 4.0 x86; java.vendor=Sun Microsystems
Inc.)</header>
</response>
</step>
<step>
@@ -34,7 +27,6 @@
<request>
<command
varUsage="globalVariableCollection,globalVariableServerName">ACL
/%globalVariableServerName%/%globalVariableCollection%/acl_dasl.xml HTTP/1.1</command>
<header>Content-Type: text/xml; charset=utf-8</header>
- <header>User-Agent: Jakarta HTTP Client/1.0</header>
<body
varUsage="globalVariableUserPath,globalVariableRootUserPath,globalVariableServerName,user,host"><![CDATA[<?xml
version="1.0" encoding="utf-8" ?>
<D:acl xmlns:D="DAV:">
<D:ace>
@@ -54,12 +46,8 @@
<step>
<request>
<command
varUsage="globalVariableCollection,globalVariableServerName">PROPFIND
/%globalVariableServerName%/%globalVariableCollection%/acl_dasl.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>
@@ -68,7 +56,21 @@
</D:propfind>]]></body>
</request>
<response>
- <command>HTTP/1.0 403 Forbidden</command>
+ <command>HTTP/1.0 207 Multi Status</command>
+ <body
varUsage="globalVariableCollection,globalVariableServerName"><![CDATA[<?xml
version="1.0" ?>
+ <D:multistatus xmlns:D="DAV:">
+ <D:response>
+
<D:href>/%globalVariableServerName%/%globalVariableCollection%/acl_dasl.xml</D:href>
+ <D:propstat>
+ <D:prop>
+ <D:acl />
+ </D:prop>
+ <D:status>HTTP/1.1 403 Forbidden</D:status>
+ </D:propstat>
+ </D:response>
+ </D:multistatus>
+ ]]>
+ </body>
</response>
</step>
<step>
@@ -185,7 +187,6 @@
<request>
<command
varUsage="globalVariableCollection,globalVariableServerName">ACL
/%globalVariableServerName%/%globalVariableCollection%/acl_dasl.xml HTTP/1.1</command>
<header>Content-Type: text/xml; charset=utf-8</header>
- <header>User-Agent: Jakarta HTTP Client/1.0</header>
<body
varUsage="globalVariableCollection,globalVariableServerName"><![CDATA[<?xml
version="1.0" encoding="utf-8" ?>
<D:acl xmlns:D="DAV:">
</D:acl>]]></body>
--
To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>