{"action":"created","issue":{"url":"https://api.github.com/repos/jersey/jersey/issues/136","labels_url":"https://api.github.com/repos/jersey/jersey/issues/136/labels{/name}","comments_url":"https://api.github.com/repos/jersey/jersey/issues/136/comments","events_url":"https://api.github.com/repos/jersey/jersey/issues/136/events","html_url":"https://github.com/jersey/jersey/pull/136","id":54564867,"number":136,"title":"Addded functionality to optionally extract provided Content-Type in Header","user":{"login":"elmar-schwarz","id":10547403,"avatar_url":"https://avatars.githubusercontent.com/u/10547403?v=3","gravatar_id":"","url":"https://api.github.com/users/elmar-schwarz","html_url":"https://github.com/elmar-schwarz","followers_url":"https://api.github.com/users/elmar-schwarz/followers","following_url":"https://api.github.com/users/elmar-schwarz/following{/other_user}","gists_url":"https://api.github.com/users/elmar-schwarz/gists{/gist_id}","starred_url":"https://api.github.com/users/elmar-schwarz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/elmar-schwarz/subscriptions","organizations_url":"https://api.github.com/users/elmar-schwarz/orgs","repos_url":"https://api.github.com/users/elmar-schwarz/repos","events_url":"https://api.github.com/users/elmar-schwarz/events{/privacy}","received_events_url":"https://api.github.com/users/elmar-schwarz/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2015-01-16T11:18:22Z","updated_at":"2015-01-16T11:43:15Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/jersey/jersey/pulls/136","html_url":"https://github.com/jersey/jersey/pull/136","diff_url":"https://github.com/jersey/jersey/pull/136.diff","patch_url":"https://github.com/jersey/jersey/pull/136.patch"},"body":"We need a mechanism to invoke a dynamic client proxy with a specific content-type which is not necessarily identical with the first value in the “@Comsumes” annotation. In analogy, providing a custom “Accept”-Header is already working.\r\n\r\nThe provided piece of code solves the problem for us. It could be considerable to try to match the header-value against the list of consumed content-types of the actual service, but for several reasons we decided to use the provided header without validating it. We left it to the service to make the final decision to accept the content-type or not.\r\n"},"comment":{"url":"https://api.github.com/repos/jersey/jersey/issues/comments/70242634","html_url":"https://github.com/jersey/jersey/pull/136#issuecomment-70242634","issue_url":"https://api.github.com/repos/jersey/jersey/issues/136","id":70242634,"user":{"login":"AdamLindenthal","id":5345451,"avatar_url":"https://avatars.githubusercontent.com/u/5345451?v=3","gravatar_id":"","url":"https://api.github.com/users/AdamLindenthal","html_url":"https://github.com/AdamLindenthal","followers_url":"https://api.github.com/users/AdamLindenthal/followers","following_url":"https://api.github.com/users/AdamLindenthal/following{/other_user}","gists_url":"https://api.github.com/users/AdamLindenthal/gists{/gist_id}","starred_url":"https://api.github.com/users/AdamLindenthal/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AdamLindenthal/subscriptions","organizations_url":"https://api.github.com/users/AdamLindenthal/orgs","repos_url":"https://api.github.com/users/AdamLindenthal/repos","events_url":"https://api.github.com/users/AdamLindenthal/events{/privacy}","received_events_url":"https://api.github.com/users/AdamLindenthal/received_events","type":"User","site_admin":false},"created_at":"2015-01-16T11:43:15Z","updated_at":"2015-01-16T11:43:15Z","body":"Just quickly checked which files are affected and without really reviewing the code itself, there is a minor issue with the copyright header. When a file is touched the first time the given year, the copyright header needs to be updated, otherwise our checks will fail.\r\n\r\nCould you please change the year range from `2012-2014` to `2012-2015` and re-commit (either new commit or amend).\r\n\r\nThanks!"}}