From 4f2b6093a64ead32f51a886186496821e003cee5 Mon Sep 17 00:00:00 2001 From: Matt Burke Date: Tue, 8 Sep 2015 13:53:41 -0400 Subject: Tell the git_transport about the custom_headers --- include/git2/sys/transport.h | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'include/git2/sys') diff --git a/include/git2/sys/transport.h b/include/git2/sys/transport.h index 4a75b0832..ca8617f3f 100644 --- a/include/git2/sys/transport.h +++ b/include/git2/sys/transport.h @@ -40,6 +40,11 @@ struct git_transport { git_transport_certificate_check_cb certificate_check_cb, void *payload); + /* Set custom headers for HTTP requests */ + int (*set_custom_headers)( + git_transport *transport, + const git_strarray *custom_headers); + /* Connect the transport to the remote repository, using the given * direction. */ int (*connect)( -- cgit v1.2.1