mirror of https://github.com/apache/jmeter.git
Remove Host from headers saved by the Proxy server, as that will normally be generated by the HTTP stack
git-svn-id: https://svn.apache.org/repos/asf/jakarta/jmeter/trunk@762876 13f79535-47bb-0310-9956-ffa450edef68
Former-commit-id: 5de933787e
This commit is contained in:
parent
3fd5a74a05
commit
1b184ce0b1
|
|
@ -382,7 +382,7 @@ upgrade_properties=/bin/upgrade.properties
|
|||
|
||||
# Default headers to remove from Header Manager elements
|
||||
# (Cookie and Authorization are always removed)
|
||||
#proxy.headers.remove=If-Modified-Since,If-None-Match
|
||||
#proxy.headers.remove=If-Modified-Since,If-None-Match,Host
|
||||
|
||||
# Binary content-type handling
|
||||
# These content-types will be handled by saving the request in a file:
|
||||
|
|
|
|||
|
|
@ -61,7 +61,7 @@ public class Proxy extends Thread {
|
|||
// 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,If-None-Match"; // $NON-NLS-1$
|
||||
private static final String PROXY_HEADERS_REMOVE_DEFAULT = "If-Modified-Since,If-None-Match,Host"; // $NON-NLS-1$
|
||||
|
||||
private static final String PROXY_HEADERS_REMOVE_SEPARATOR = ","; // $NON-NLS-1$
|
||||
|
||||
|
|
|
|||
|
|
@ -199,6 +199,7 @@ JMeter now removes extraneous leading "../" segments (as do many browsers)
|
|||
</li>
|
||||
<li>Bug 46844 - "Library" label in test plan are not I18N</li>
|
||||
<li>Bug 46977 - JMeter does not handle HTTP headers not delimited by whitespace</li>
|
||||
<li>Remove Host from headers saved by the Proxy server, as that will normally be generated by the HTTP stack</li>
|
||||
</ul>
|
||||
|
||||
<h3>Improvements</h3>
|
||||
|
|
|
|||
Loading…
Reference in New Issue