diff --git a/lua/hurl/main.lua b/lua/hurl/main.lua index 8a44dcc..703539e 100644 --- a/lua/hurl/main.lua +++ b/lua/hurl/main.lua @@ -240,6 +240,7 @@ local function execute_hurl_cmd(opts, callback) local content_type = response.headers['content-type'] or response.headers['Content-Type'] + or response.headers['Content-type'] or 'unknown' utils.log_info('Detected content type: ' .. content_type)