File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -132,7 +132,7 @@ function! webapi#http#get(url, ...)
132132 let url .= " ?" . getdatastr
133133 endif
134134 if executable (' curl' )
135- let command = printf (' curl %s -s -k -i' , follow ? ' -L' : ' ' )
135+ let command = printf (' curl -q %s -s -k -i' , follow ? ' -L' : ' ' )
136136 let quote = &shellxquote == ' "' ? " '" : ' "'
137137 for key in keys (headdata)
138138 if has (' win32' )
@@ -209,7 +209,7 @@ function! webapi#http#post(url, ...)
209209 endif
210210 let file = tempname ()
211211 if executable (' curl' )
212- let command = printf (' curl %s -s -k -i -X %s' , (follow ? ' -L' : ' ' ), len (method) ? method : ' POST' )
212+ let command = printf (' curl -q %s -s -k -i -X %s' , (follow ? ' -L' : ' ' ), len (method) ? method : ' POST' )
213213 let quote = &shellxquote == ' "' ? " '" : ' "'
214214 for key in keys (headdata)
215215 if has (' win32' )
You can’t perform that action at this time.
0 commit comments