From 40ec8b2c12aeabdca79123c21d2cfc3d0b63e6f4 Mon Sep 17 00:00:00 2001 From: Jack Tysoe Date: Thu, 6 Jun 2024 10:42:51 +0100 Subject: [PATCH] revert test --- src/resty/aws/request/execute.lua | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) 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