{"action":"created","issue":{"url":"https://api.github.com/repos/bjpirt/esphttpd/issues/3","labels_url":"https://api.github.com/repos/bjpirt/esphttpd/issues/3/labels{/name}","comments_url":"https://api.github.com/repos/bjpirt/esphttpd/issues/3/comments","events_url":"https://api.github.com/repos/bjpirt/esphttpd/issues/3/events","html_url":"https://github.com/bjpirt/esphttpd/pull/3","id":60199492,"number":3,"title":"Streaming support for POST requests","user":{"login":"bjpirt","id":186499,"avatar_url":"https://avatars.githubusercontent.com/u/186499?v=3","gravatar_id":"","url":"https://api.github.com/users/bjpirt","html_url":"https://github.com/bjpirt","followers_url":"https://api.github.com/users/bjpirt/followers","following_url":"https://api.github.com/users/bjpirt/following{/other_user}","gists_url":"https://api.github.com/users/bjpirt/gists{/gist_id}","starred_url":"https://api.github.com/users/bjpirt/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bjpirt/subscriptions","organizations_url":"https://api.github.com/users/bjpirt/orgs","repos_url":"https://api.github.com/users/bjpirt/repos","events_url":"https://api.github.com/users/bjpirt/events{/privacy}","received_events_url":"https://api.github.com/users/bjpirt/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":11,"created_at":"2015-03-07T09:40:03Z","updated_at":"2015-03-15T15:53:18Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/bjpirt/esphttpd/pulls/3","html_url":"https://github.com/bjpirt/esphttpd/pull/3","diff_url":"https://github.com/bjpirt/esphttpd/pull/3.diff","patch_url":"https://github.com/bjpirt/esphttpd/pull/3.patch"},"body":"This is a dummy pull request to provide a place to discuss the changes to esp-httpd to make it handle streaming POST requests.\r\n\r\nWhat it does:\r\n - changes all post request handling so that if the post length is greater than the buffer size it will send the body through in multiple chunks of data\r\n - changes all cgi handlers so that they either return DONE or MORE\r\n - adds a new cgi handler so that a new espfs image can be sent and flashed via http\r\n - moves all of the post metadata and the buffer out into its own struct\r\n\r\nLonger term the goal is to allow the user to reflash the firmware and the espfs over http, but this ensures that the necessary support in httpd is in place to do this."},"comment":{"url":"https://api.github.com/repos/bjpirt/esphttpd/issues/comments/81118531","html_url":"https://github.com/bjpirt/esphttpd/pull/3#issuecomment-81118531","issue_url":"https://api.github.com/repos/bjpirt/esphttpd/issues/3","id":81118531,"user":{"login":"Spritetm","id":8977247,"avatar_url":"https://avatars.githubusercontent.com/u/8977247?v=3","gravatar_id":"","url":"https://api.github.com/users/Spritetm","html_url":"https://github.com/Spritetm","followers_url":"https://api.github.com/users/Spritetm/followers","following_url":"https://api.github.com/users/Spritetm/following{/other_user}","gists_url":"https://api.github.com/users/Spritetm/gists{/gist_id}","starred_url":"https://api.github.com/users/Spritetm/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Spritetm/subscriptions","organizations_url":"https://api.github.com/users/Spritetm/orgs","repos_url":"https://api.github.com/users/Spritetm/repos","events_url":"https://api.github.com/users/Spritetm/events{/privacy}","received_events_url":"https://api.github.com/users/Spritetm/received_events","type":"User","site_admin":false},"created_at":"2015-03-15T15:53:18Z","updated_at":"2015-03-15T15:53:18Z","body":"Okay, I merged in your changes. I only made one change: GET/POST -> HTTPD_METHOD_[GET/POST]: those defines are in a public .h-file and I'd rather not have people chase down namespace clashes."}}