diff options
-rw-r--r-- | lib/gitano/actions.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/gitano/actions.lua b/lib/gitano/actions.lua index 0532141..8568d72 100644 --- a/lib/gitano/actions.lua +++ b/lib/gitano/actions.lua @@ -84,7 +84,7 @@ local function _curl_txn(url, headers, body, content_type) return "500", "headers must be a table if provided", {} , "" end if method == "POST" then - headers["Content-Type"] = content_type or application/octet-stream + headers["Content-Type"] = content_type or "application/octet-stream" headers["Content-Length"] = tostring(#body) args[#args+1] = "--data-binary" args[#args+1] = "@-" |