diff options
| author | Junio C Hamano <gitster@pobox.com> | 2022-07-19 16:40:19 -0700 |
|---|---|---|
| committer | Junio C Hamano <gitster@pobox.com> | 2022-07-19 16:40:19 -0700 |
| commit | 4b8cdff8baa44c97a784d5b4b6c5a9df37de41ff (patch) | |
| tree | 5df6944aaee80778b5445c3fad9a01385692cb98 /http.h | |
| parent | 7c683389d689c85e66d9c2ce1fba198da4325e3a (diff) | |
| parent | b0c4adcdd7e339110bea8da94d7880d413e49330 (diff) | |
| download | git-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.h | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -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; |
