Validate override for crystal 1.12.1

This commit is contained in:
syeopite 2024-05-22 13:10:46 -07:00
parent ccb2a6c58e
commit 6b7e730100
No known key found for this signature in database
GPG Key ID: A73C186DA3955A1A

View File

@ -20,7 +20,7 @@ class HTTP::Client
# Override stdlib to automatically initialize proxy if configured
#
# Accurate as of crystal 1.10.1
# Accurate as of crystal 1.12.1
def initialize(@host : String, port = nil, tls : TLSContext = nil)
check_host_only(@host)