{"action":"created","issue":{"url":"https://api.github.com/repos/symfony/symfony/issues/17318","labels_url":"https://api.github.com/repos/symfony/symfony/issues/17318/labels{/name}","comments_url":"https://api.github.com/repos/symfony/symfony/issues/17318/comments","events_url":"https://api.github.com/repos/symfony/symfony/issues/17318/events","html_url":"https://github.com/symfony/symfony/pull/17318","id":125696180,"number":17318,"title":"[HttpFoundation] Allow to get all the mime types associated to a format in the Request","user":{"login":"Ener-Getick","id":6871899,"avatar_url":"https://avatars.githubusercontent.com/u/6871899?v=3","gravatar_id":"","url":"https://api.github.com/users/Ener-Getick","html_url":"https://github.com/Ener-Getick","followers_url":"https://api.github.com/users/Ener-Getick/followers","following_url":"https://api.github.com/users/Ener-Getick/following{/other_user}","gists_url":"https://api.github.com/users/Ener-Getick/gists{/gist_id}","starred_url":"https://api.github.com/users/Ener-Getick/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Ener-Getick/subscriptions","organizations_url":"https://api.github.com/users/Ener-Getick/orgs","repos_url":"https://api.github.com/users/Ener-Getick/repos","events_url":"https://api.github.com/users/Ener-Getick/events{/privacy}","received_events_url":"https://api.github.com/users/Ener-Getick/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/symfony/symfony/labels/Status:%20Reviewed","name":"Status: Reviewed","color":"bfe5bf"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2016-01-08T21:23:58Z","updated_at":"2016-01-13T09:21:45Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/symfony/symfony/pulls/17318","html_url":"https://github.com/symfony/symfony/pull/17318","diff_url":"https://github.com/symfony/symfony/pull/17318.diff","patch_url":"https://github.com/symfony/symfony/pull/17318.patch"},"body":"| Q             | A\r\n| ------------- | ---\r\n| Bug fix?      | no\r\n| New feature?  | yes\r\n| BC breaks?    | no\r\n| Deprecations? | no\r\n| Tests pass?   | yes\r\n| Fixed tickets | \r\n| License       | MIT\r\n\r\nThis PR creates a new method in ``Request`` to allow to get all the mime types associated to a format.\r\n\r\nThis is useful in the case of a format negotiator which needs to convert a list of format to a list of mime types (see [the ``FormatNegotiator`` of the ``FOSRestBundle``](https://github.com/FriendsOfSymfony/FOSRestBundle/blob/master/Negotiation/FormatNegotiator.php#L126))\r\n"},"comment":{"url":"https://api.github.com/repos/symfony/symfony/issues/comments/171226629","html_url":"https://github.com/symfony/symfony/pull/17318#issuecomment-171226629","issue_url":"https://api.github.com/repos/symfony/symfony/issues/17318","id":171226629,"user":{"login":"nicolas-grekas","id":243674,"avatar_url":"https://avatars.githubusercontent.com/u/243674?v=3","gravatar_id":"","url":"https://api.github.com/users/nicolas-grekas","html_url":"https://github.com/nicolas-grekas","followers_url":"https://api.github.com/users/nicolas-grekas/followers","following_url":"https://api.github.com/users/nicolas-grekas/following{/other_user}","gists_url":"https://api.github.com/users/nicolas-grekas/gists{/gist_id}","starred_url":"https://api.github.com/users/nicolas-grekas/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nicolas-grekas/subscriptions","organizations_url":"https://api.github.com/users/nicolas-grekas/orgs","repos_url":"https://api.github.com/users/nicolas-grekas/repos","events_url":"https://api.github.com/users/nicolas-grekas/events{/privacy}","received_events_url":"https://api.github.com/users/nicolas-grekas/received_events","type":"User","site_admin":false},"created_at":"2016-01-13T09:21:44Z","updated_at":"2016-01-13T09:21:44Z","body":":+1:\r\nStatus: reviewed"}}