We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b70d5f0 commit 91ebdf8Copy full SHA for 91ebdf8
lib/Furl/HTTP.pm
@@ -681,7 +681,7 @@ sub connect_ssl_over_proxy {
681
return (undef, "Cannot read proxy response: " . _strerror_or_timeout());
682
} elsif ( $read == 0 ) { # eof
683
return (undef, "Unexpected EOF while reading proxy response");
684
- } elsif ( $buf !~ /^HTTP\/1.[01] 200 .+\015\012/ ) {
+ } elsif ( $buf !~ /^HTTP\/1\.[0-9] 200 .+\015\012/ ) {
685
return (undef, "Invalid HTTP Response via proxy");
686
}
687
0 commit comments