{"action":"created","issue":{"url":"https://api.github.com/repos/spring-cloud/spring-cloud-netflix/issues/3008","repository_url":"https://api.github.com/repos/spring-cloud/spring-cloud-netflix","labels_url":"https://api.github.com/repos/spring-cloud/spring-cloud-netflix/issues/3008/labels{/name}","comments_url":"https://api.github.com/repos/spring-cloud/spring-cloud-netflix/issues/3008/comments","events_url":"https://api.github.com/repos/spring-cloud/spring-cloud-netflix/issues/3008/events","html_url":"https://github.com/spring-cloud/spring-cloud-netflix/issues/3008","id":332424115,"node_id":"MDU6SXNzdWUzMzI0MjQxMTU=","number":3008,"title":"Zuul removes content-length for all clients, it is not a hop-by-hop header","user":{"login":"jadetang","id":6525486,"node_id":"MDQ6VXNlcjY1MjU0ODY=","avatar_url":"https://avatars0.githubusercontent.com/u/6525486?v=4","gravatar_id":"","url":"https://api.github.com/users/jadetang","html_url":"https://github.com/jadetang","followers_url":"https://api.github.com/users/jadetang/followers","following_url":"https://api.github.com/users/jadetang/following{/other_user}","gists_url":"https://api.github.com/users/jadetang/gists{/gist_id}","starred_url":"https://api.github.com/users/jadetang/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jadetang/subscriptions","organizations_url":"https://api.github.com/users/jadetang/orgs","repos_url":"https://api.github.com/users/jadetang/repos","events_url":"https://api.github.com/users/jadetang/events{/privacy}","received_events_url":"https://api.github.com/users/jadetang/received_events","type":"User","site_admin":false},"labels":[{"id":222072230,"node_id":"MDU6TGFiZWwyMjIwNzIyMzA=","url":"https://api.github.com/repos/spring-cloud/spring-cloud-netflix/labels/waiting%20for%20feedback","name":"waiting for feedback","color":"fbca04","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":15,"created_at":"2018-06-14T14:19:24Z","updated_at":"2018-07-16T08:00:17Z","closed_at":null,"author_association":"NONE","body":"In the method `isIncludedHeader`  of `ProxyRequestHelper`, the code will not pass some headers, any reason to do this?\r\n\r\n`\r\n\r\n\tpublic boolean isIncludedHeader(String headerName) {\r\n\t\tString name = headerName.toLowerCase();\r\n\t\tRequestContext ctx = RequestContext.getCurrentContext();\r\n\t\tif (ctx.containsKey(IGNORED_HEADERS)) {\r\n\t\t\tObject object = ctx.get(IGNORED_HEADERS);\r\n\t\t\tif (object instanceof Collection && ((Collection<?>) object).contains(name)) {\r\n\t\t\t\treturn false;\r\n\t\t\t}\r\n\t\t}\r\n\t\tswitch (name) {   //these header will not be passed to the downstream server.\r\n\t\tcase \"host\":\r\n\t\tcase \"connection\":\r\n\t\tcase \"content-length\":\r\n\t\tcase \"content-encoding\":\r\n\t\tcase \"server\":\r\n\t\tcase \"transfer-encoding\":\r\n\t\tcase \"x-application-context\":\r\n\t\t\treturn false;\r\n\t\tdefault:\r\n\t\t\treturn true;\r\n\t\t}\r\n\t}\r\n`"},"comment":{"url":"https://api.github.com/repos/spring-cloud/spring-cloud-netflix/issues/comments/405173099","html_url":"https://github.com/spring-cloud/spring-cloud-netflix/issues/3008#issuecomment-405173099","issue_url":"https://api.github.com/repos/spring-cloud/spring-cloud-netflix/issues/3008","id":405173099,"node_id":"MDEyOklzc3VlQ29tbWVudDQwNTE3MzA5OQ==","user":{"login":"mdiniz","id":518007,"node_id":"MDQ6VXNlcjUxODAwNw==","avatar_url":"https://avatars1.githubusercontent.com/u/518007?v=4","gravatar_id":"","url":"https://api.github.com/users/mdiniz","html_url":"https://github.com/mdiniz","followers_url":"https://api.github.com/users/mdiniz/followers","following_url":"https://api.github.com/users/mdiniz/following{/other_user}","gists_url":"https://api.github.com/users/mdiniz/gists{/gist_id}","starred_url":"https://api.github.com/users/mdiniz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mdiniz/subscriptions","organizations_url":"https://api.github.com/users/mdiniz/orgs","repos_url":"https://api.github.com/users/mdiniz/repos","events_url":"https://api.github.com/users/mdiniz/events{/privacy}","received_events_url":"https://api.github.com/users/mdiniz/received_events","type":"User","site_admin":false},"created_at":"2018-07-16T08:00:17Z","updated_at":"2018-07-16T08:00:17Z","author_association":"NONE","body":"@ryanjbaxter yes, and the PR #3062 will close issue #3059 "}}
{"actor":{"display_login":"mdiniz"}}