{"pull_request":{"merged_at":null,"title":"Return parsed packets","created_at":"2012-01-01T22:20:47Z","user":{"id":8098,"login":"jonasschneider","url":"https://api.github.com/users/jonasschneider","avatar_url":"https://secure.gravatar.com/avatar/b78f4794c25d10035574a98fa5c71cd3?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","gravatar_id":"b78f4794c25d10035574a98fa5c71cd3"},"updated_at":"2012-01-01T22:20:47Z","state":"open","review_comments":0,"id":643076,"patch_url":"https://github.com/igrigorik/spdy/pull/11.patch","deletions":10,"html_url":"https://github.com/igrigorik/spdy/pull/11","closed_at":null,"mergeable":null,"issue_url":"https://github.com/igrigorik/spdy/issues/11","base":{"ref":"master","user":{"id":10652,"login":"igrigorik","url":"https://api.github.com/users/igrigorik","avatar_url":"https://secure.gravatar.com/avatar/a17f0025641b4be419a6cd3845e55dd2?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","gravatar_id":"a17f0025641b4be419a6cd3845e55dd2"},"sha":"8578d99484991016b4f97358ce86d6a453808833","repo":{"created_at":"2011-04-06T02:57:55Z","git_url":"git://github.com/igrigorik/spdy.git","open_issues":3,"watchers":173,"updated_at":"2012-01-01T21:33:09Z","fork":false,"id":1575328,"language":"Ruby","html_url":"https://github.com/igrigorik/spdy","name":"spdy","description":"SPDY is an experiment with protocols for the web","master_branch":null,"ssh_url":"git@github.com:igrigorik/spdy.git","clone_url":"https://github.com/igrigorik/spdy.git","url":"https://api.github.com/repos/igrigorik/spdy","pushed_at":"2012-01-01T16:18:39Z","forks":10,"homepage":"http://www.igvita.com/2011/04/07/life-beyond-http-11-googles-spdy/","owner":{"id":10652,"login":"igrigorik","url":"https://api.github.com/users/igrigorik","avatar_url":"https://secure.gravatar.com/avatar/a17f0025641b4be419a6cd3845e55dd2?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","gravatar_id":"a17f0025641b4be419a6cd3845e55dd2"},"svn_url":"https://github.com/igrigorik/spdy","size":296,"private":false},"label":"igrigorik:master"},"additions":17,"commits":4,"body":"This changes Parser#try_parse to return an array of the parsed packets after parsing.\r\n\r\nI found it very useful when testing the responses of my SPDY server.\r\nThe return value should probably be adjusted to [nil] (or an empty array?) in the return statements above it in order to be consistent.\r\n\r\nWhat are your thoughts?","number":11,"url":"https://api.github.com/repos/igrigorik/spdy/pulls/11","_links":{"review_comments":{"href":"https://api.github.com/repos/igrigorik/spdy/pulls/11/comments"},"html":{"href":"https://github.com/igrigorik/spdy/pull/11"},"self":{"href":"https://api.github.com/repos/igrigorik/spdy/pulls/11"},"comments":{"href":"https://api.github.com/repos/igrigorik/spdy/issues/11/comments"}},"merged_by":null,"diff_url":"https://github.com/igrigorik/spdy/pull/11.diff","comments":0,"merged":false,"changed_files":2,"head":{"ref":"return-parsed-packets","user":{"id":8098,"login":"jonasschneider","url":"https://api.github.com/users/jonasschneider","avatar_url":"https://secure.gravatar.com/avatar/b78f4794c25d10035574a98fa5c71cd3?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","gravatar_id":"b78f4794c25d10035574a98fa5c71cd3"},"sha":"f09e5ae1d312365438b3c01f14afbb10224f4465","repo":{"created_at":"2011-12-30T01:23:04Z","git_url":"git://github.com/jonasschneider/spdy.git","open_issues":0,"watchers":1,"updated_at":"2012-01-01T22:17:36Z","fork":true,"id":3072164,"language":"Ruby","html_url":"https://github.com/jonasschneider/spdy","name":"spdy","description":"SPDY is an experiment with protocols for the web","master_branch":null,"ssh_url":"git@github.com:jonasschneider/spdy.git","clone_url":"https://github.com/jonasschneider/spdy.git","url":"https://api.github.com/repos/jonasschneider/spdy","pushed_at":"2012-01-01T22:17:36Z","forks":0,"homepage":"http://www.igvita.com/2011/04/07/life-beyond-http-11-googles-spdy/","owner":{"id":8098,"login":"jonasschneider","url":"https://api.github.com/users/jonasschneider","avatar_url":"https://secure.gravatar.com/avatar/b78f4794c25d10035574a98fa5c71cd3?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","gravatar_id":"b78f4794c25d10035574a98fa5c71cd3"},"svn_url":"https://github.com/jonasschneider/spdy","size":132,"private":false},"label":"jonasschneider:return-parsed-packets"}},"number":11,"action":"opened"}