{"action":"created","issue":{"url":"https://api.github.com/repos/zmthy/http-media/issues/9","labels_url":"https://api.github.com/repos/zmthy/http-media/issues/9/labels{/name}","comments_url":"https://api.github.com/repos/zmthy/http-media/issues/9/comments","events_url":"https://api.github.com/repos/zmthy/http-media/issues/9/events","html_url":"https://github.com/zmthy/http-media/pull/9","id":55793597,"number":9,"title":"Issue7","user":{"login":"Zankoku-Okuno","id":2712089,"avatar_url":"https://avatars.githubusercontent.com/u/2712089?v=3","gravatar_id":"","url":"https://api.github.com/users/Zankoku-Okuno","html_url":"https://github.com/Zankoku-Okuno","followers_url":"https://api.github.com/users/Zankoku-Okuno/followers","following_url":"https://api.github.com/users/Zankoku-Okuno/following{/other_user}","gists_url":"https://api.github.com/users/Zankoku-Okuno/gists{/gist_id}","starred_url":"https://api.github.com/users/Zankoku-Okuno/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Zankoku-Okuno/subscriptions","organizations_url":"https://api.github.com/users/Zankoku-Okuno/orgs","repos_url":"https://api.github.com/users/Zankoku-Okuno/repos","events_url":"https://api.github.com/users/Zankoku-Okuno/events{/privacy}","received_events_url":"https://api.github.com/users/Zankoku-Okuno/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-01-28T18:14:33Z","updated_at":"2015-01-28T18:17:18Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/zmthy/http-media/pulls/9","html_url":"https://github.com/zmthy/http-media/pull/9","diff_url":"https://github.com/zmthy/http-media/pull/9.diff","patch_url":"https://github.com/zmthy/http-media/pull/9.patch"},"body":"this should fix #7 \r\n\r\nThis is a very narrow fix: it only deals with media types, not any of the other accept-X, which also meed the fix because they also use the `weight` production. Therefore, I've tossed `trimLWS` in `Utils.hs` for re-use.\r\n\r\nFor reference, I found:\r\n\r\n```\r\nweight = OWS \";\" OWS \"q=\" qvalue\r\n...\r\nmedia-range    = ( \"*/*\"\r\n                 / ( type \"/\" \"*\" )\r\n                 / ( type \"/\" subtype )\r\n                 ) *( OWS \";\" OWS parameter )\r\naccept-params  = weight *( accept-ext )\r\naccept-ext = OWS \";\" OWS token [ \"=\" ( token / quoted-string ) ]\r\n```\r\n\r\nin [RFC7031](http://tools.ietf.org/html/rfc7231) with `OWS            = *( SP / HTAB )` from [RFC7030](http://tools.ietf.org/html/rfc7230).\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/zmthy/http-media/issues/comments/71885934","html_url":"https://github.com/zmthy/http-media/pull/9#issuecomment-71885934","issue_url":"https://api.github.com/repos/zmthy/http-media/issues/9","id":71885934,"user":{"login":"Zankoku-Okuno","id":2712089,"avatar_url":"https://avatars.githubusercontent.com/u/2712089?v=3","gravatar_id":"","url":"https://api.github.com/users/Zankoku-Okuno","html_url":"https://github.com/Zankoku-Okuno","followers_url":"https://api.github.com/users/Zankoku-Okuno/followers","following_url":"https://api.github.com/users/Zankoku-Okuno/following{/other_user}","gists_url":"https://api.github.com/users/Zankoku-Okuno/gists{/gist_id}","starred_url":"https://api.github.com/users/Zankoku-Okuno/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Zankoku-Okuno/subscriptions","organizations_url":"https://api.github.com/users/Zankoku-Okuno/orgs","repos_url":"https://api.github.com/users/Zankoku-Okuno/repos","events_url":"https://api.github.com/users/Zankoku-Okuno/events{/privacy}","received_events_url":"https://api.github.com/users/Zankoku-Okuno/received_events","type":"User","site_admin":false},"created_at":"2015-01-28T18:17:18Z","updated_at":"2015-01-28T18:17:18Z","body":"Well, this PR looks silly. Thanks github <.<"}}