{"action":"created","issue":{"url":"https://api.github.com/repos/localstack/localstack/issues/541","repository_url":"https://api.github.com/repos/localstack/localstack","labels_url":"https://api.github.com/repos/localstack/localstack/issues/541/labels{/name}","comments_url":"https://api.github.com/repos/localstack/localstack/issues/541/comments","events_url":"https://api.github.com/repos/localstack/localstack/issues/541/events","html_url":"https://github.com/localstack/localstack/issues/541","id":286512645,"number":541,"title":"S3 DELETE incorrectly returns a nonzero Content-Length in 0.8.4","user":{"login":"esilverberg","id":58332,"avatar_url":"https://avatars3.githubusercontent.com/u/58332?v=4","gravatar_id":"","url":"https://api.github.com/users/esilverberg","html_url":"https://github.com/esilverberg","followers_url":"https://api.github.com/users/esilverberg/followers","following_url":"https://api.github.com/users/esilverberg/following{/other_user}","gists_url":"https://api.github.com/users/esilverberg/gists{/gist_id}","starred_url":"https://api.github.com/users/esilverberg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/esilverberg/subscriptions","organizations_url":"https://api.github.com/users/esilverberg/orgs","repos_url":"https://api.github.com/users/esilverberg/repos","events_url":"https://api.github.com/users/esilverberg/events{/privacy}","received_events_url":"https://api.github.com/users/esilverberg/received_events","type":"User","site_admin":false},"labels":[{"id":468888567,"url":"https://api.github.com/repos/localstack/localstack/labels/bug","name":"bug","color":"ee0701","default":true}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2018-01-06T19:41:49Z","updated_at":"2018-02-04T02:23:20Z","closed_at":"2018-02-04T02:23:20Z","author_association":"NONE","body":"In localstack 0.8.3, this call:\r\n\r\n`curl -i -X DELETE http://localstack:4572/bucketname/objectname`\r\n\r\nWould correctly return:\r\n\r\n```\r\nHTTP/1.1 204 No Content\r\nServer: BaseHTTP/0.3 Python/2.7.13\r\nDate: Sat, 06 Jan 2018 19:25:50 GMT\r\nContent-Type: text/html; charset=utf-8\r\nContent-Length: 0\r\nServer: Werkzeug/0.14.1 Python/2.7.13\r\nDate: Sat, 06 Jan 2018 19:25:50 GMT\r\nAccess-Control-Allow-Origin: *\r\nAccess-Control-Allow-Methods: HEAD,GET,PUT,POST,DELETE,OPTIONS,PATCH\r\nAccess-Control-Allow-Headers: authorization,content-type,content-md5,x-amz-content-sha256,x-amz-date,x-amz-security-token,x-amz-user-agent\r\n```\r\n\r\nStarting with 0.8.4, the same call returns:\r\n\r\n```\r\nHTTP/1.1 204 No Content\r\nServer: BaseHTTP/0.3 Python/2.7.13\r\nDate: Sat, 06 Jan 2018 19:25:50 GMT\r\nContent-Type: text/html; charset=utf-8\r\nContent-Length: 199\r\nServer: Werkzeug/0.14.1 Python/2.7.13\r\nDate: Sat, 06 Jan 2018 19:25:50 GMT\r\nAccess-Control-Allow-Origin: *\r\nAccess-Control-Allow-Methods: HEAD,GET,PUT,POST,DELETE,OPTIONS,PATCH\r\nAccess-Control-Allow-Headers: authorization,content-type,content-md5,x-amz-content-sha256,x-amz-date,x-amz-security-token,x-amz-user-agent\r\n```\r\n\r\nNote the spurious **Content-Length: 199** causes an exception in the Seahorse library used by the ruby aws-sdk:\r\n\r\n`Seahorse::Client::NetworkingError: http response body truncated, expected 199 bytes, received 0 bytes`\r\n  \r\nThis is blocking our tests and so we have had to revert back to 0.8.3 for now."},"comment":{"url":"https://api.github.com/repos/localstack/localstack/issues/comments/362874865","html_url":"https://github.com/localstack/localstack/issues/541#issuecomment-362874865","issue_url":"https://api.github.com/repos/localstack/localstack/issues/541","id":362874865,"user":{"login":"whummer","id":2807888,"avatar_url":"https://avatars0.githubusercontent.com/u/2807888?v=4","gravatar_id":"","url":"https://api.github.com/users/whummer","html_url":"https://github.com/whummer","followers_url":"https://api.github.com/users/whummer/followers","following_url":"https://api.github.com/users/whummer/following{/other_user}","gists_url":"https://api.github.com/users/whummer/gists{/gist_id}","starred_url":"https://api.github.com/users/whummer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/whummer/subscriptions","organizations_url":"https://api.github.com/users/whummer/orgs","repos_url":"https://api.github.com/users/whummer/repos","events_url":"https://api.github.com/users/whummer/events{/privacy}","received_events_url":"https://api.github.com/users/whummer/received_events","type":"User","site_admin":false},"created_at":"2018-02-04T02:23:20Z","updated_at":"2018-02-04T02:23:20Z","author_association":"COLLABORATOR","body":"Closing this issue. Please re-open or comment here if the problem persists. Thanks"}}
{"actor":{"display_login":"whummer"}}