Skip to content

Commit cf4bcd8

Browse files
authored
Merge pull request #142 from appelgriebsch/fix-header-names
#141: fixes header name
2 parents 3811092 + da73db5 commit cf4bcd8

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
@@ -124,7 +124,7 @@ local function get_headers(bufnr, start_line, end_line)
124124
local header_name, header_value = line_content:match("^(.-): ?(.*)$")
125125

126126
if not utils.contains_comments(header_name) then
127-
headers[header_name:lower()] = utils.replace_vars(header_value)
127+
headers[header_name] = utils.replace_vars(header_value)
128128
end
129129
::continue::
130130
end

0 commit comments

Comments
 (0)