*) Ignore more hop by hop http headers

git-svn-id: https://svn.berlios.de/svnroot/repos/yacy/trunk@2504 6c8d7289-2bf4-0310-a012-ef5d649a1542
pull/1/head
theli 18 years ago
parent b44514242a
commit 6578564c9a

@ -840,18 +840,13 @@ public final class httpdProxyHandler extends httpdAbstractHandler implements htt
private void removeHopByHopHeaders(httpHeader headers) { private void removeHopByHopHeaders(httpHeader headers) {
/* /*
* - Connection
- Keep-Alive
- Proxy-Authenticate
- Proxy-Authorization
- TE
- Trailers - Trailers
- Transfer-Encoding
- Upgrade
*/ */
headers.remove(httpHeader.CONNECTION); headers.remove(httpHeader.CONNECTION);
headers.remove(httpHeader.KEEP_ALIVE); headers.remove(httpHeader.KEEP_ALIVE);
headers.remove(httpHeader.UPGRADE);
headers.remove(httpHeader.TE);
headers.remove(httpHeader.PROXY_CONNECTION); headers.remove(httpHeader.PROXY_CONNECTION);
headers.remove(httpHeader.PROXY_AUTHENTICATE); headers.remove(httpHeader.PROXY_AUTHENTICATE);
headers.remove(httpHeader.PROXY_AUTHORIZATION); headers.remove(httpHeader.PROXY_AUTHORIZATION);

Loading…
Cancel
Save