{"action":"created","issue":{"url":"https://api.github.com/repos/kasei/attean/issues/11","labels_url":"https://api.github.com/repos/kasei/attean/issues/11/labels{/name}","comments_url":"https://api.github.com/repos/kasei/attean/issues/11/comments","events_url":"https://api.github.com/repos/kasei/attean/issues/11/events","html_url":"https://github.com/kasei/attean/issues/11","id":90052959,"number":11,"title":"Client side negotation of parsers","user":{"login":"kjetilk","id":154068,"avatar_url":"https://avatars.githubusercontent.com/u/154068?v=3","gravatar_id":"","url":"https://api.github.com/users/kjetilk","html_url":"https://github.com/kjetilk","followers_url":"https://api.github.com/users/kjetilk/followers","following_url":"https://api.github.com/users/kjetilk/following{/other_user}","gists_url":"https://api.github.com/users/kjetilk/gists{/gist_id}","starred_url":"https://api.github.com/users/kjetilk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kjetilk/subscriptions","organizations_url":"https://api.github.com/users/kjetilk/orgs","repos_url":"https://api.github.com/users/kjetilk/repos","events_url":"https://api.github.com/users/kjetilk/events{/privacy}","received_events_url":"https://api.github.com/users/kjetilk/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-06-22T09:29:40Z","updated_at":"2015-06-22T20:39:45Z","closed_at":null,"body":"In connection to my TPF work, I'm thinking about how to request the most suitable format. Let me just think aloud here.\r\n\r\nInitially, it is a question of being able to construct a suitable Accept header. \r\nTo do that, I would probably want to be able to use a stream parser, but if the server doesn't have that available, any format I can parse would be OK. \r\n\r\nSo, perhaps Attean could have a function like\r\n```\r\nAttean->acceptable_parsers(prefer => 'streaming')\r\n```\r\nthat would return a string that says something like this:\r\n```\r\ntext/n3;q=1,text/turtle;q=1,application/rdf+xml;q=0.2\r\n```\r\nwhere q factor is based on whether it does PullParser? Or are there other criterias?\r\n\r\nThen, would it be possible to reflect in the q factors how fast the parsers are relative to each other?\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/kasei/attean/issues/comments/114255851","html_url":"https://github.com/kasei/attean/issues/11#issuecomment-114255851","issue_url":"https://api.github.com/repos/kasei/attean/issues/11","id":114255851,"user":{"login":"kasei","id":4872,"avatar_url":"https://avatars.githubusercontent.com/u/4872?v=3","gravatar_id":"","url":"https://api.github.com/users/kasei","html_url":"https://github.com/kasei","followers_url":"https://api.github.com/users/kasei/followers","following_url":"https://api.github.com/users/kasei/following{/other_user}","gists_url":"https://api.github.com/users/kasei/gists{/gist_id}","starred_url":"https://api.github.com/users/kasei/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kasei/subscriptions","organizations_url":"https://api.github.com/users/kasei/orgs","repos_url":"https://api.github.com/users/kasei/repos","events_url":"https://api.github.com/users/kasei/events{/privacy}","received_events_url":"https://api.github.com/users/kasei/received_events","type":"User","site_admin":false},"created_at":"2015-06-22T20:39:45Z","updated_at":"2015-06-22T20:39:45Z","body":"Take a look at 5a46827 and let me know what you think."}}