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
This commit is contained in:
@ -369,7 +369,7 @@ ja;q=0.95, zh;q=0.94, sv;q=0.93, pt;q=0.92, nb;q=0.91, *;q=0.90" \
|
||||
ko_KR.EUC-KR:en_US.UTF-8:fr_CA:de.UTF-8@euro:sr@latin:ja:zh:sv:pt:nb
|
||||
'
|
||||
|
||||
test_expect_success 'git client does not send an empty Accept-Language' '
|
||||
test_expect_success 'git client send an empty Accept-Language' '
|
||||
GIT_TRACE_CURL=true LANGUAGE= git ls-remote "$HTTPD_URL/dumb/repo.git" 2>stderr &&
|
||||
! grep "^=> Send header: Accept-Language:" stderr
|
||||
'
|
||||
|
Reference in New Issue
Block a user