Skip to content

Commit 40ec8b2

Browse files
committed
revert test
1 parent a735ed1 commit 40ec8b2

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

src/resty/aws/request/execute.lua

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -52,9 +52,9 @@ local function execute_request(signed_request)
5252

5353
local body, body_reader
5454

55-
if response.headers["application/vnd.amazon.eventstream"] then
56-
body_reader = response.body_reader
57-
else
55+
-- if response.headers["application/vnd.amazon.eventstream"] then
56+
-- body_reader = response.body_reader
57+
-- else
5858
local this_body do
5959
if response.has_body then
6060
this_body, err = response:read_body()
@@ -68,7 +68,7 @@ local function execute_request(signed_request)
6868
body = this_body
6969
end
7070
end
71-
end
71+
-- end
7272

7373
if signed_request.keepalive_idle_timeout then
7474
httpc:set_keepalive(signed_request.keepalive_idle_timeout)
@@ -90,7 +90,7 @@ local function execute_request(signed_request)
9090
reason = response.reason,
9191
headers = response.headers,
9292
body = body,
93-
body_reader = body_reader,
93+
-- body_reader = body_reader,
9494
}
9595
end
9696

0 commit comments

Comments
 (0)