Skip to content

Commit 9270aa4

Browse files
committed
style: 💄 format
1 parent 4972781 commit 9270aa4

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

lib/resty/http.lua

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -706,7 +706,8 @@ function _M.send_request(self, params)
706706
headers["Content-Length"] = length
707707

708708
elseif body == nil and EXPECTING_BODY[str_upper(params.method)] then
709-
return nil, "Request body is nil but " .. str_upper(params.method) .. " method expects a body. Use an empty string \"\" if you want to send an empty body."
709+
return nil, "Request body is nil but " .. str_upper(params.method) ..
710+
" method expects a body. Use an empty string \"\" if you want to send an empty body."
710711

711712
elseif body ~= nil then
712713
headers["Content-Length"] = #tostring(body)

0 commit comments

Comments
 (0)