Skip to content

Commit

Permalink
revert test
Browse files Browse the repository at this point in the history
  • Loading branch information
tysoekong committed Jun 6, 2024
1 parent a735ed1 commit 40ec8b2
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions src/resty/aws/request/execute.lua
Original file line number Diff line number Diff line change
Expand Up @@ -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()
Expand All @@ -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)
Expand All @@ -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

Expand Down

0 comments on commit 40ec8b2

Please sign in to comment.