summaryrefslogtreecommitdiff
path: root/tests/diff/diff_helpers.h
diff options
context:
space:
mode:
authorMatt Burke <spraints@gmail.com>2015-09-24 09:24:10 -0400
committerMatt Burke <spraints@gmail.com>2015-09-24 09:24:10 -0400
commite60db3c79a82459aff9bd90fc97ff9d5fb886a04 (patch)
tree22c4c017710be92bb7a468c1d06a7969b919ea52 /tests/diff/diff_helpers.h
parent63cc57232cebab60ad193731582e24e83ea5b3b9 (diff)
downloadlibgit2-e60db3c79a82459aff9bd90fc97ff9d5fb886a04.tar.gz
Revise custom header error messages
If the header doesn't look like a header (e.g. if it doesn't have a ":" or if it has newlines), report "custom HTTP header '%s' is malformed". If the header has the same name as a header already set by libgit2 (e.g. "Host"), report "HTTP header '%s' is already set by libgit2".
Diffstat (limited to 'tests/diff/diff_helpers.h')
0 files changed, 0 insertions, 0 deletions