Skip to content

Commit

Permalink
Possible fix for issues reported by Simon Sadedin
Browse files Browse the repository at this point in the history
  • Loading branch information
lightbody committed Apr 21, 2013
1 parent d8e196f commit 9d8635e
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -214,7 +214,9 @@ protected long proxyPlainTextRequest(final URL url, String pathInContext, String
hasContent = true;
}

httpReq.addRequestHeader(hdr, val);
if (!_DontProxyHeaders.containsKey(hdr)) {
httpReq.addRequestHeader(hdr, val);
}
}
}
}
Expand Down

0 comments on commit 9d8635e

Please sign in to comment.