{"action":"created","issue":{"url":"https://api.github.com/repos/leo-project/leo_gateway/issues/17","labels_url":"https://api.github.com/repos/leo-project/leo_gateway/issues/17/labels{/name}","comments_url":"https://api.github.com/repos/leo-project/leo_gateway/issues/17/comments","events_url":"https://api.github.com/repos/leo-project/leo_gateway/issues/17/events","html_url":"https://github.com/leo-project/leo_gateway/issues/17","id":62068781,"number":17,"title":"PUT with Transfer-Enconig: chunked","user":{"login":"surik","id":708165,"avatar_url":"https://avatars.githubusercontent.com/u/708165?v=3","gravatar_id":"","url":"https://api.github.com/users/surik","html_url":"https://github.com/surik","followers_url":"https://api.github.com/users/surik/followers","following_url":"https://api.github.com/users/surik/following{/other_user}","gists_url":"https://api.github.com/users/surik/gists{/gist_id}","starred_url":"https://api.github.com/users/surik/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/surik/subscriptions","organizations_url":"https://api.github.com/users/surik/orgs","repos_url":"https://api.github.com/users/surik/repos","events_url":"https://api.github.com/users/surik/events{/privacy}","received_events_url":"https://api.github.com/users/surik/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-03-16T12:42:49Z","updated_at":"2015-03-17T07:01:24Z","closed_at":null,"body":"I have problem with put chunked object. I try do this:\r\n```http\r\nPUT /fs.tar HTTP/1.1\r\nUser-Agent: curl/7.37.1\r\nHost: 192.168.40.238:9990\r\nAccept: */*\r\nTransfer-Encoding: chunked\r\nExpect: 100-continue\r\n```\r\n\r\nbut it doesn't work because leo_gateway_http_commons.erl doesn't work with chunked content correctly.\r\nSee:\r\nhttps://github.com/leo-project/leo_gateway/blob/master/src/leo_gateway_http_commons.erl#L473-L475\r\nSize will be undefined in this case.\r\n\r\nIs it ok?"},"comment":{"url":"https://api.github.com/repos/leo-project/leo_gateway/issues/comments/82163302","html_url":"https://github.com/leo-project/leo_gateway/issues/17#issuecomment-82163302","issue_url":"https://api.github.com/repos/leo-project/leo_gateway/issues/17","id":82163302,"user":{"login":"mocchira","id":279052,"avatar_url":"https://avatars.githubusercontent.com/u/279052?v=3","gravatar_id":"","url":"https://api.github.com/users/mocchira","html_url":"https://github.com/mocchira","followers_url":"https://api.github.com/users/mocchira/followers","following_url":"https://api.github.com/users/mocchira/following{/other_user}","gists_url":"https://api.github.com/users/mocchira/gists{/gist_id}","starred_url":"https://api.github.com/users/mocchira/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mocchira/subscriptions","organizations_url":"https://api.github.com/users/mocchira/orgs","repos_url":"https://api.github.com/users/mocchira/repos","events_url":"https://api.github.com/users/mocchira/events{/privacy}","received_events_url":"https://api.github.com/users/mocchira/received_events","type":"User","site_admin":false},"created_at":"2015-03-17T07:01:24Z","updated_at":"2015-03-17T07:01:24Z","body":"and \r\nSince we've filed every issues related to LeoFS on the leofs repositry (not each repositries) to make it easy to manage all issues,\r\nI'll move this ticket to the leofs repositry's issue from here.\r\n"}}