split main
Signed-off-by: Jason Volk <jason@zemos.net>
This commit is contained in:
parent
7f6c19f066
commit
9cc4f3e929
7 changed files with 1031 additions and 966 deletions
|
@ -118,12 +118,12 @@ impl Client {
|
|||
#[cfg(not(feature = "gzip_compression"))]
|
||||
{
|
||||
builder = builder.no_gzip();
|
||||
}
|
||||
};
|
||||
|
||||
#[cfg(not(feature = "brotli_compression"))]
|
||||
{
|
||||
builder = builder.no_brotli();
|
||||
}
|
||||
};
|
||||
|
||||
if let Some(proxy) = config.proxy.to_proxy()? {
|
||||
Ok(builder.proxy(proxy))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue