Skip to content

Commit da73db5

Browse files
#141: fixes header name
1 parent 4a23d38 commit da73db5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lua/rest-nvim/request/init.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -121,7 +121,7 @@ local function get_headers(bufnr, start_line, end_line)
121121
local header_name, header_value = line_content:match("^(.-): ?(.*)$")
122122

123123
if not utils.contains_comments(header_name) then
124-
headers[header_name:lower()] = utils.replace_vars(header_value)
124+
headers[header_name] = utils.replace_vars(header_value)
125125
end
126126
::continue::
127127
end

0 commit comments

Comments
 (0)