mirror of
https://github.com/projectdiscovery/httpx
synced 2026-06-08 16:50:17 +00:00
bfaa5b943a
- When falling back from HTTPS to HTTP on port 443, now switches to port 80 - When falling back from HTTP to HTTPS on port 80, now switches to port 443 - Uses net.JoinHostPort() to properly handle IPv6 addresses - Prevents 'plain HTTP request sent to HTTPS port' errors during fallback - Added test cases for determineMostLikelySchemeOrder and port fallback logic