We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 862fa82 commit f84685fCopy full SHA for f84685f
1 file changed
autoload/webapi/http.vim
@@ -173,7 +173,7 @@ function! webapi#http#get(url, ...)
173
let content = res[pos+2:]
174
endif
175
return {
176
- \ "header" : split(res[0:pos], '\r\?\n'),
+ \ "header" : split(res[:pos-1], '\r\?\n'),
177
\ "content" : content
178
\}
179
endfunction
@@ -240,7 +240,7 @@ function! webapi#http#post(url, ...)
240
241
242
243
244
245
246
0 commit comments