httpx/test/http_test.rb
2018-02-17 22:18:05 +00:00

31 lines
548 B
Ruby

# frozen_string_literal: true
require_relative "support/http_helpers"
class HTTPTest < Minitest::Test
include HTTPHelpers
include Requests
include Head
include Get
include ChunkedGet
include WithBody
include WithChunkedBody
include Headers
include ResponseBody
include IO
include Timeouts
include Plugins::Proxy
include Plugins::Authentication
include Plugins::FollowRedirects
include Plugins::Cookies
include Plugins::Compression
include Plugins::H2C
private
def origin
"http://#{httpbin}"
end
end