Skip to content

Commit

Permalink
*) Ignore more hop by hop http headers
Browse files Browse the repository at this point in the history
git-svn-id: https://svn.berlios.de/svnroot/repos/yacy/trunk@2504 6c8d7289-2bf4-0310-a012-ef5d649a1542
  • Loading branch information
theli committed Sep 7, 2006
1 parent b445142 commit 6578564
Showing 1 changed file with 2 additions and 7 deletions.
9 changes: 2 additions & 7 deletions source/de/anomic/http/httpdProxyHandler.java
Expand Up @@ -840,18 +840,13 @@ private void fulfillRequestFromCache(

private void removeHopByHopHeaders(httpHeader headers) {
/*
* - Connection
- Keep-Alive
- Proxy-Authenticate
- Proxy-Authorization
- TE
- Trailers
- Transfer-Encoding
- Upgrade
*/

headers.remove(httpHeader.CONNECTION);
headers.remove(httpHeader.KEEP_ALIVE);
headers.remove(httpHeader.UPGRADE);
headers.remove(httpHeader.TE);
headers.remove(httpHeader.PROXY_CONNECTION);
headers.remove(httpHeader.PROXY_AUTHENTICATE);
headers.remove(httpHeader.PROXY_AUTHORIZATION);
Expand Down

0 comments on commit 6578564

Please sign in to comment.