{"action":"created","issue":{"url":"https://api.github.com/repos/KeepSafe/aiohttp/issues/881","repository_url":"https://api.github.com/repos/KeepSafe/aiohttp","labels_url":"https://api.github.com/repos/KeepSafe/aiohttp/issues/881/labels{/name}","comments_url":"https://api.github.com/repos/KeepSafe/aiohttp/issues/881/comments","events_url":"https://api.github.com/repos/KeepSafe/aiohttp/issues/881/events","html_url":"https://github.com/KeepSafe/aiohttp/pull/881","id":155758074,"number":881,"title":"Skip the preamble in MultipartReader.","user":{"login":"obmarg","id":556490,"avatar_url":"https://avatars.githubusercontent.com/u/556490?v=3","gravatar_id":"","url":"https://api.github.com/users/obmarg","html_url":"https://github.com/obmarg","followers_url":"https://api.github.com/users/obmarg/followers","following_url":"https://api.github.com/users/obmarg/following{/other_user}","gists_url":"https://api.github.com/users/obmarg/gists{/gist_id}","starred_url":"https://api.github.com/users/obmarg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/obmarg/subscriptions","organizations_url":"https://api.github.com/users/obmarg/orgs","repos_url":"https://api.github.com/users/obmarg/repos","events_url":"https://api.github.com/users/obmarg/events{/privacy}","received_events_url":"https://api.github.com/users/obmarg/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2016-05-19T14:57:42Z","updated_at":"2016-05-23T18:42:48Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/KeepSafe/aiohttp/pulls/881","html_url":"https://github.com/KeepSafe/aiohttp/pull/881","diff_url":"https://github.com/KeepSafe/aiohttp/pull/881.diff","patch_url":"https://github.com/KeepSafe/aiohttp/pull/881.patch"},"body":"<!-- Thank you for your contribution!\r\n\r\n     Before submit your Pull Request, make sure you picked\r\n     the right branch:\r\n\r\n     - If you propose a new feature or improvement, select \"master\"\r\n       as a target branch;\r\n     - If this is code bug fix or documentation correction, select\r\n       the lastest release branch (which looks like \"0.xx\") -->\r\n\r\n## What these changes does?\r\n\r\nThis updates the MultipartReader to ignore the preamble of a multipart\r\nmessage.  To quote the RFC:\r\n\r\n> There appears to be room for additional information prior to the first\r\n> boundary delimiter line and following the final boundary delimiter line.\r\n> These areas should generally be left blank, and implementations must\r\n> ignore anything that appears before the first boundary delimiter line or\r\n> after the last one.\r\n\r\nTo do this, the MultipartReader now acts slightly differently at the\r\nbeginning of the file.  Instead of looking for a boundary and excepting\r\nif it doesn't find one, it will skip over the initial data looking for\r\nthe first boundary and start reading from there.\r\n\r\nIf it doesn't find any boundary, it will except similar to how it did\r\nbefore.\r\n\r\n## How to test your changes?\r\n\r\nParse some multipart responses.\r\n\r\n## Related issue number\r\n\r\nFixes #880 \r\n\r\n## Checklist\r\n\r\n- [x] Code is written and well\r\n- [x] Tests for the changes are provided\r\n- [x] Documentation reflects the changes"},"comment":{"url":"https://api.github.com/repos/KeepSafe/aiohttp/issues/comments/221058629","html_url":"https://github.com/KeepSafe/aiohttp/pull/881#issuecomment-221058629","issue_url":"https://api.github.com/repos/KeepSafe/aiohttp/issues/881","id":221058629,"user":{"login":"kxepal","id":785983,"avatar_url":"https://avatars.githubusercontent.com/u/785983?v=3","gravatar_id":"","url":"https://api.github.com/users/kxepal","html_url":"https://github.com/kxepal","followers_url":"https://api.github.com/users/kxepal/followers","following_url":"https://api.github.com/users/kxepal/following{/other_user}","gists_url":"https://api.github.com/users/kxepal/gists{/gist_id}","starred_url":"https://api.github.com/users/kxepal/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kxepal/subscriptions","organizations_url":"https://api.github.com/users/kxepal/orgs","repos_url":"https://api.github.com/users/kxepal/repos","events_url":"https://api.github.com/users/kxepal/events{/privacy}","received_events_url":"https://api.github.com/users/kxepal/received_events","type":"User","site_admin":false},"created_at":"2016-05-23T18:42:48Z","updated_at":"2016-05-23T18:42:48Z","body":"I wonder who does multipart generation with preamble?"}}
{"actor":{"display_login":"kxepal"}}