You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jmeter-dev@jakarta.apache.org by se...@apache.org on 2007/09/27 00:15:24 UTC
svn commit: r579827 -
/jakarta/jmeter/trunk/src/protocol/http/org/apache/jmeter/protocol/http/proxy/Proxy.java
Author: sebb
Date: Wed Sep 26 15:15:24 2007
New Revision: 579827
URL: http://svn.apache.org/viewvc?rev=579827&view=rev
Log:
If we remove cookies, we should remove Authorization as well
Modified:
jakarta/jmeter/trunk/src/protocol/http/org/apache/jmeter/protocol/http/proxy/Proxy.java
Modified: jakarta/jmeter/trunk/src/protocol/http/org/apache/jmeter/protocol/http/proxy/Proxy.java
URL: http://svn.apache.org/viewvc/jakarta/jmeter/trunk/src/protocol/http/org/apache/jmeter/protocol/http/proxy/Proxy.java?rev=579827&r1=579826&r2=579827&view=diff
==============================================================================
--- jakarta/jmeter/trunk/src/protocol/http/org/apache/jmeter/protocol/http/proxy/Proxy.java (original)
+++ jakarta/jmeter/trunk/src/protocol/http/org/apache/jmeter/protocol/http/proxy/Proxy.java Wed Sep 26 15:15:24 2007
@@ -43,9 +43,6 @@
* Information about the request and response is stored so it can be used in a
* JMeter test plan.
*
- * @author mike
- * @version $Revision$ Last updated: $Date$ Created
- * June 8, 2001
*/
public class Proxy extends Thread {
private static final Logger log = LoggingManager.getLoggerForClass();
@@ -182,6 +179,7 @@
* We don't want to store any cookies in the generated test plan
*/
headers.removeHeaderNamed("cookie");// Always remove cookies // $NON-NLS-1$
+ headers.removeHeaderNamed("Authorization");// Always remove cookies // $NON-NLS-1$
} catch (UnknownHostException uhe) {
log.warn("Server Not Found.", uhe);
writeErrorToClient(HttpReplyHdr.formServerNotFound());
---------------------------------------------------------------------
To unsubscribe, e-mail: jmeter-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jmeter-dev-help@jakarta.apache.org