summaryrefslogtreecommitdiff
path: root/run-command.h
diff options
context:
space:
mode:
authorLibravatar Masaya Suzuki <masayasuzuki@google.com>2019-01-10 11:33:47 -0800
committerLibravatar Junio C Hamano <gitster@pobox.com>2019-01-10 15:00:56 -0800
commite6cf87b12d3b85b31637c865bbfaed62c3e59e94 (patch)
treeaf69d47ea93b11b324f235e1d6ab8d192b8cd03e /run-command.h
parenthttp: support file handles for HTTP_KEEP_ERROR (diff)
downloadtgif-e6cf87b12d3b85b31637c865bbfaed62c3e59e94.tar.xz
http: enable keep_error for HTTP requests
curl stops parsing a response when it sees a bad HTTP status code and it has CURLOPT_FAILONERROR set. This prevents GIT_CURL_VERBOSE to show HTTP headers on error. keep_error is an option to receive the HTTP response body for those error responses. By enabling this option, curl will process the HTTP response headers, and they're shown if GIT_CURL_VERBOSE is set. Signed-off-by: Masaya Suzuki <masayasuzuki@google.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'run-command.h')
0 files changed, 0 insertions, 0 deletions