aboutsummaryrefslogtreecommitdiff
path: root/http.h
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2022-07-19 16:40:19 -0700
committerJunio C Hamano <gitster@pobox.com>2022-07-19 16:40:19 -0700
commit4b8cdff8baa44c97a784d5b4b6c5a9df37de41ff (patch)
tree5df6944aaee80778b5445c3fad9a01385692cb98 /http.h
parent7c683389d689c85e66d9c2ce1fba198da4325e3a (diff)
parentb0c4adcdd7e339110bea8da94d7880d413e49330 (diff)
downloadgit-4b8cdff8baa44c97a784d5b4b6c5a9df37de41ff.tar.xz
Merge branch 'll/curl-accept-language'
Earlier, HTTP transport clients learned to tell the server side what locale they are in by sending Accept-Language HTTP header, but this was done only for some requests but not others. * ll/curl-accept-language: remote-curl: send Accept-Language header to server
Diffstat (limited to 'http.h')
-rw-r--r--http.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/http.h b/http.h
index ba303cfb37..3c94c47910 100644
--- a/http.h
+++ b/http.h
@@ -178,6 +178,9 @@ int http_fetch_ref(const char *base, struct ref *ref);
int http_get_info_packs(const char *base_url,
struct packed_git **packs_head);
+/* Helper for getting Accept-Language header */
+const char *http_get_accept_language_header(void);
+
struct http_pack_request {
char *url;