mirror of
https://github.com/HoneyryderChuck/httpx.git
synced 2025-10-04 00:00:37 -04:00
adding expect and compression plugins by default to the aws_sigv4 plugin
It's expected that this endpoint will be used i most cases for file uploads, so both plugins will be important to improve throughput and auth-fail-fast scenarios
This commit is contained in:
parent
d93de82639
commit
e1d305b4d9
@ -153,8 +153,10 @@ module HTTPX
|
|||||||
end.new.merge(options)
|
end.new.merge(options)
|
||||||
end
|
end
|
||||||
|
|
||||||
def load_dependencies(_klass)
|
def load_dependencies(klass)
|
||||||
require "openssl"
|
require "openssl"
|
||||||
|
klass.plugin(:expect)
|
||||||
|
klass.plugin(:compression)
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user