Author: ogusakov
Date: Mon Sep 29 11:53:01 2008
New Revision: 700208

URL: http://svn.apache.org/viewvc?rev=700208&view=rev
Log:
modified the test to check for general proxy flow, not just a non-spec header. 
"Proxy-Connection" is not part of http spec, but an extended header, and as 
such cannot be expected from all the clients

Modified:
    
maven/core-integration-testing/trunk/core-it-suite/src/test/java/org/apache/maven/it/MavenITmng3599useHttpProxyForWebDAV.java

Modified: 
maven/core-integration-testing/trunk/core-it-suite/src/test/java/org/apache/maven/it/MavenITmng3599useHttpProxyForWebDAV.java
URL: 
http://svn.apache.org/viewvc/maven/core-integration-testing/trunk/core-it-suite/src/test/java/org/apache/maven/it/MavenITmng3599useHttpProxyForWebDAV.java?rev=700208&r1=700207&r2=700208&view=diff
==============================================================================
--- 
maven/core-integration-testing/trunk/core-it-suite/src/test/java/org/apache/maven/it/MavenITmng3599useHttpProxyForWebDAV.java
 (original)
+++ 
maven/core-integration-testing/trunk/core-it-suite/src/test/java/org/apache/maven/it/MavenITmng3599useHttpProxyForWebDAV.java
 Mon Sep 29 11:53:01 2008
@@ -76,6 +76,12 @@
                     
                     System.out.println( "Proxy-Connection found." );
                 }
+                /*
+                 * 2008-09-29 Oleg: "Proxy-Connection" is not part of http 
spec, but an extended header, and 
+                 * as such cannot be expected from all the clients.
+                 * Changing the code to test for more generalized case: local 
proxy receives a request with
+                 * correct server url and resource uri
+                 */
                 else if( 
                     request.getRequestURI().startsWith( 
"/org/apache/maven/its/mng3599/test-dependency" )
                     && request.getRequestURL().toString().startsWith( 
"http://www.example.com"; )


Reply via email to