{"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":"Added 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":13,"created_at":"2015-01-16T11:18:22Z","updated_at":"2015-02-10T09:54:58Z","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 “@Consumes” 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/73672592","html_url":"https://github.com/jersey/jersey/pull/136#issuecomment-73672592","issue_url":"https://api.github.com/repos/jersey/jersey/issues/136","id":73672592,"user":{"login":"mgajdos","id":1765512,"avatar_url":"https://avatars.githubusercontent.com/u/1765512?v=3","gravatar_id":"","url":"https://api.github.com/users/mgajdos","html_url":"https://github.com/mgajdos","followers_url":"https://api.github.com/users/mgajdos/followers","following_url":"https://api.github.com/users/mgajdos/following{/other_user}","gists_url":"https://api.github.com/users/mgajdos/gists{/gist_id}","starred_url":"https://api.github.com/users/mgajdos/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mgajdos/subscriptions","organizations_url":"https://api.github.com/users/mgajdos/orgs","repos_url":"https://api.github.com/users/mgajdos/repos","events_url":"https://api.github.com/users/mgajdos/events{/privacy}","received_events_url":"https://api.github.com/users/mgajdos/received_events","type":"User","site_admin":false},"created_at":"2015-02-10T09:54:58Z","updated_at":"2015-02-10T09:54:58Z","body":"Jenkins, please test this patch."}}