2017-12-14 01:19:47 +00:00

13 lines
243 B
Ruby

# frozen_string_literal: true
module Requests
module Head
def test_http_head
uri = build_uri("/")
response = HTTPX.head(uri)
verify_status(response.status, 200)
verify_body_length(response, 0)
end
end
end