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/11/17 03:08:23 UTC

svn commit: r595894 - in /jakarta/jmeter/trunk: src/protocol/http/org/apache/jmeter/protocol/http/proxy/Proxy.java xdocs/changes.xml xdocs/usermanual/component_reference.xml

Author: sebb
Date: Fri Nov 16 18:08:22 2007
New Revision: 595894

URL: http://svn.apache.org/viewvc?rev=595894&view=rev
Log:
If-None-Match needs to be treated the same as If-Modified-Since

Modified:
    jakarta/jmeter/trunk/src/protocol/http/org/apache/jmeter/protocol/http/proxy/Proxy.java
    jakarta/jmeter/trunk/xdocs/changes.xml
    jakarta/jmeter/trunk/xdocs/usermanual/component_reference.xml

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=595894&r1=595893&r2=595894&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 Fri Nov 16 18:08:22 2007
@@ -58,7 +58,7 @@
     // Allow list of headers to be overridden
 	private static final String PROXY_HEADERS_REMOVE = "proxy.headers.remove"; // $NON-NLS-1$
 
-	private static final String PROXY_HEADERS_REMOVE_DEFAULT = "If-Modified-Since"; // $NON-NLS-1$
+	private static final String PROXY_HEADERS_REMOVE_DEFAULT = "If-Modified-Since,If-None-Match"; // $NON-NLS-1$
 
     private static final String PROXY_HEADERS_REMOVE_SEPARATOR = ","; // $NON-NLS-1$
 

Modified: jakarta/jmeter/trunk/xdocs/changes.xml
URL: http://svn.apache.org/viewvc/jakarta/jmeter/trunk/xdocs/changes.xml?rev=595894&r1=595893&r2=595894&view=diff
==============================================================================
--- jakarta/jmeter/trunk/xdocs/changes.xml (original)
+++ jakarta/jmeter/trunk/xdocs/changes.xml Fri Nov 16 18:08:22 2007
@@ -40,7 +40,7 @@
 <br></br>
 To revert to the earlier behaviour, define the JMeter property: server.rmi.create=false.
 </li>
-<li>The Proxy server removes If-Modified-Since headers from generated Header Managers.
+<li>The Proxy server removes If-Modified-Since and If-None-Match headers from generated Header Managers.
 To revert to the previous behaviour, define the property proxy.headers.remove with no value</li>
 </ul>
 
@@ -98,7 +98,7 @@
 <li>Bug 43678 - Handle META tag http-equiv charset</li>
 <li>Bug 42555 - [I18N] Proposed corrections for the french translation</li>
 <li>Bug 43727 - Test Action does not support variables or functions</li>
-<li>The Proxy server removes If-Modified-Since headers from generated Header Managers by default.
+<li>The Proxy server removes If-Modified-Since and If-None-Match headers from generated Header Managers by default.
 To change the list of removed headers, define the property proxy.headers.remove as a comma-separated list of headers to remove</li>
 <li>The javaScript function now has access to JMeter variables and context etc. See <a href="usermanual/functions.html#__javaScript">JavaScript function</a></li>
 <li>Use drop-down list for BSF Sampler language field</li>

Modified: jakarta/jmeter/trunk/xdocs/usermanual/component_reference.xml
URL: http://svn.apache.org/viewvc/jakarta/jmeter/trunk/xdocs/usermanual/component_reference.xml?rev=595894&r1=595893&r2=595894&view=diff
==============================================================================
--- jakarta/jmeter/trunk/xdocs/usermanual/component_reference.xml (original)
+++ jakarta/jmeter/trunk/xdocs/usermanual/component_reference.xml Fri Nov 16 18:08:22 2007
@@ -3414,7 +3414,9 @@
 		<property name="Capture HTTP Headers" required="Yes">Should headers be added to the plan?
 		If specified, a Header Manager will be added to each HTTP Sampler.
 		The Proxy server always removes Cookie and Authorization headers from the generated Header Managers.
-		By default it also removes If-Modified-Since headers.
+		By default it also removes If-Modified-Since and If-None-Match headers.
+		These are used to determine if the browser cache items are up to date;
+		when recording one normally wants to download all the content.
         To change which additional headers are removed, define the JMeter property <b>proxy.headers.remove</b>
         as a comma-separated list of headers.
         </property>



---------------------------------------------------------------------
To unsubscribe, e-mail: jmeter-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jmeter-dev-help@jakarta.apache.org