mirror of
https://github.com/Homebrew/brew.git
synced 2025-07-14 16:09:03 +08:00
Set Accept-Language
header for all curl
requests.
This commit is contained in:
parent
03bba5a66c
commit
01e46966e5
@ -32,6 +32,8 @@ def curl_args(*extra_args, show_output: false, user_agent: :default)
|
||||
user_agent
|
||||
end
|
||||
|
||||
args << "--header" << "Accept-Language: en"
|
||||
|
||||
unless show_output
|
||||
args << "--fail"
|
||||
args << "--progress-bar" unless Context.current.verbose?
|
||||
|
Loading…
x
Reference in New Issue
Block a user