juergen 2002/08/02 02:07:42
Modified:
testsuite/testsuite/junit/xmltestcases/DeltaV/functional/Workspace_Feature/MKWORKSPACE_Method
MkWs409otherlocation.xml
Log:
1) adopted response code
2) minor header deletion
Revision Changes Path
1.2 +14 -17
jakarta-slide/testsuite/testsuite/junit/xmltestcases/DeltaV/functional/Workspace_Feature/MKWORKSPACE_Method/MkWs409otherlocation.xml
Index: MkWs409otherlocation.xml
===================================================================
RCS file:
/home/cvs/jakarta-slide/testsuite/testsuite/junit/xmltestcases/DeltaV/functional/Workspace_Feature/MKWORKSPACE_Method/MkWs409otherlocation.xml,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- MkWs409otherlocation.xml 31 Jul 2002 08:52:40 -0000 1.1
+++ MkWs409otherlocation.xml 2 Aug 2002 09:07:42 -0000 1.2
@@ -1,26 +1,23 @@
<?xml version="1.0" encoding="UTF-8"?>
- <!DOCTYPE test SYSTEM "../../../../../Tprocessor.dtd">
-
+<!DOCTYPE test SYSTEM "../../../../../Tprocessor.dtd">
<test>
-
<specification>
<abstract> Test to check if the attempting to create a workspace
outside of the workspace collection works </abstract>
-
<description>
1) MKWORKSPACE command carried out
</description>
-
- <expectedResult>MKWORKSPACE command should return a 409 Conflict
response</expectedResult>
+ <expectedResult>MKWORKSPACE command should return a 403 Forbidden
response</expectedResult>
</specification>
-
-<step>
- <request>
- <command
varUsage="globalVariableServerName,globalVariableCollection">MKWORKSPACE
/%globalVariableServerName%/%globalVariableCollection%/WS HTTP/1.1</command>
- <header>Content-length: 0</header>
- </request>
- <response>
- <command>HTTP/1.0 409 Conflict</command>
- </response>
- </step>
-
+ <step>
+ <request>
+ <command
varUsage="globalVariableServerName,globalVariableCollection">MKWORKSPACE
/%globalVariableServerName%/%globalVariableCollection%/WS HTTP/1.1</command>
+ </request>
+ <response>
+ <command>HTTP/1.0 403 Forbidden</command>
+ <body><![CDATA[<?xml version="1.0" encoding="utf-8" ?>
+ <D:error xmlns:D="DAV:">
+ <D:workspace-location-ok/>
+ </D:error>]]></body>
+ </response>
+ </step>
</test>
--
To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>