mirror of
https://github.com/HoneyryderChuck/httpx.git
synced 2025-07-15 00:00:55 -04:00
Compare commits
No commits in common. "bc975f7b9be3da4422d803048d4c7971dab6a293" and "36017d7bf6a988a9da0d3840a633a5a45e87325b" have entirely different histories.
bc975f7b9b
...
36017d7bf6
@ -169,8 +169,6 @@ module Faraday
|
|||||||
end
|
end
|
||||||
|
|
||||||
def run
|
def run
|
||||||
return unless @handlers.last
|
|
||||||
|
|
||||||
env = @handlers.last.env
|
env = @handlers.last.env
|
||||||
|
|
||||||
session = HTTPX.session.with(options_from_env(env))
|
session = HTTPX.session.with(options_from_env(env))
|
||||||
|
@ -45,11 +45,6 @@ class FaradayTest < Minitest::Test
|
|||||||
refute_nil resp1.env[:error]
|
refute_nil resp1.env[:error]
|
||||||
end
|
end
|
||||||
|
|
||||||
def test_adapter_in_parallel_no_requests
|
|
||||||
connection = create_connection
|
|
||||||
assert_nil(connection.in_parallel {})
|
|
||||||
end
|
|
||||||
|
|
||||||
def test_adapter_get_handles_compression
|
def test_adapter_get_handles_compression
|
||||||
res = get(build_path("/gzip"))
|
res = get(build_path("/gzip"))
|
||||||
assert JSON.parse(res.body.to_s)["gzipped"]
|
assert JSON.parse(res.body.to_s)["gzipped"]
|
||||||
|
Loading…
x
Reference in New Issue
Block a user