diff --git a/src/resty/aws/request/execute.lua b/src/resty/aws/request/execute.lua index 02236d6..e121687 100644 --- a/src/resty/aws/request/execute.lua +++ b/src/resty/aws/request/execute.lua @@ -52,9 +52,9 @@ local function execute_request(signed_request) local body, body_reader - if response.headers["application/vnd.amazon.eventstream"] then - body_reader = response.body_reader - else + -- if response.headers["application/vnd.amazon.eventstream"] then + -- body_reader = response.body_reader + -- else local this_body do if response.has_body then this_body, err = response:read_body() @@ -68,7 +68,7 @@ local function execute_request(signed_request) body = this_body end end - end + -- end if signed_request.keepalive_idle_timeout then httpc:set_keepalive(signed_request.keepalive_idle_timeout) @@ -90,7 +90,7 @@ local function execute_request(signed_request) reason = response.reason, headers = response.headers, body = body, - body_reader = body_reader, + -- body_reader = body_reader, } end