summaryrefslogtreecommitdiff
path: root/git.spec.in
diff options
context:
space:
mode:
authorLibravatar Jeff King <peff@peff.net>2013-04-05 18:14:06 -0400
committerLibravatar Junio C Hamano <gitster@pobox.com>2013-04-06 18:56:41 -0700
commit6d052d78d74e581dd93dd6328d3c214f469e34d7 (patch)
tree044f8168624ee4a51c79fb1a4432b9130f8d09e2 /git.spec.in
parentUpdate draft release notes to 1.8.3 (diff)
downloadtgif-6d052d78d74e581dd93dd6328d3c214f469e34d7.tar.xz
http: add HTTP_KEEP_ERROR option
We currently set curl's FAILONERROR option, which means that any http failures are reported as curl errors, and the http body content from the server is thrown away. This patch introduces a new option to http_get_strbuf which specifies that the body content from a failed http response should be placed in the destination strbuf, where it can be accessed by the caller. Signed-off-by: Jeff King <peff@peff.net> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'git.spec.in')
0 files changed, 0 insertions, 0 deletions