Author: unico
Date: Tue Oct 26 10:07:04 2004
New Revision: 55619
Modified:
cocoon/branches/BRANCH_2_1_X/src/test/anteater/reader-mime-type.xml
cocoon/branches/BRANCH_2_1_X/src/webapp/samples/test/reader-mime-type/explain-test.xml
cocoon/branches/BRANCH_2_1_X/src/webapp/samples/test/reader-mime-type/sitemap.xmap
Log:
remove testcase that no longer complies with expected behavior:
internal requests should not be able to alter response headers
as discussed in http://marc.theaimsgroup.com/?t=109783260100005&r=1&w=2
Modified: cocoon/branches/BRANCH_2_1_X/src/test/anteater/reader-mime-type.xml
==============================================================================
--- cocoon/branches/BRANCH_2_1_X/src/test/anteater/reader-mime-type.xml
(original)
+++ cocoon/branches/BRANCH_2_1_X/src/test/anteater/reader-mime-type.xml Tue Oct
26 10:07:04 2004
@@ -57,7 +57,6 @@
<header name="Content-type" value="text/html"/>
</match>
</httpRequest>
-
<httpRequest href="${baseUrl}/test40.html" description="Check
content-type">
<match>
<header name="Content-type" value="text/html"/>
@@ -68,18 +67,6 @@
<header name="Content-type" value="text/html"/>
</match>
</httpRequest>
-
- <httpRequest href="${baseUrl}/test50.html" description="Check
content-type">
- <match>
- <header name="Content-type" value="text/html"/>
- </match>
- </httpRequest>
- <httpRequest href="${baseUrl}/test50.html" description="Check
content-type (cached)">
- <match>
- <header name="Content-type" value="text/html"/>
- </match>
- </httpRequest>
-
<httpRequest href="${baseUrl}/test60.html" description="Check
content-type">
<match>
<header name="Content-type" value="text/html"/>
Modified:
cocoon/branches/BRANCH_2_1_X/src/webapp/samples/test/reader-mime-type/explain-test.xml
==============================================================================
---
cocoon/branches/BRANCH_2_1_X/src/webapp/samples/test/reader-mime-type/explain-test.xml
(original)
+++
cocoon/branches/BRANCH_2_1_X/src/webapp/samples/test/reader-mime-type/explain-test.xml
Tue Oct 26 10:07:04 2004
@@ -15,7 +15,7 @@
limitations under the License.
-->
-<!-- CVS $Id: explain-test.xml,v 1.3 2004/03/06 02:26:00 antonio Exp $ -->
+<!-- CVS $Id$ -->
<page>
<title>reader-mime-type test</title>
@@ -32,7 +32,6 @@
<li><link href="test20.html">test20.html</link></li>
<li><link href="test30">test30</link></li>
<li><link href="test40.html">test40.html</link></li>
- <li><link href="test50.html">test50.html</link></li>
<li><link href="test60.html">test60.html</link></li>
<li><link href="test70.html">test70.html</link></li>
</ul>
Modified:
cocoon/branches/BRANCH_2_1_X/src/webapp/samples/test/reader-mime-type/sitemap.xmap
==============================================================================
---
cocoon/branches/BRANCH_2_1_X/src/webapp/samples/test/reader-mime-type/sitemap.xmap
(original)
+++
cocoon/branches/BRANCH_2_1_X/src/webapp/samples/test/reader-mime-type/sitemap.xmap
Tue Oct 26 10:07:04 2004
@@ -31,9 +31,6 @@
<map:match pattern="test40.html">
<map:read src="cocoon:/test10.html"/>
</map:match>
- <map:match pattern="test50.html">
- <map:read src="cocoon:/test30"/>
- </map:match>
<map:match pattern="test60.html">
<map:read src="cocoon:/test10.html" mime-type="text/html"/>
</map:match>