Skip to content

Commit be2b860

Browse files
committed
Switch to httpbingo.org instead of httpbin.org
1 parent 000a72d commit be2b860

File tree

3 files changed

+11
-7
lines changed

3 files changed

+11
-7
lines changed

CHANGES

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
1.08 Mon Apr 28 17:06:58 2025
2+
3+
* Switched from httpbin.org to httpbingo.org
4+
15
1.06 Mon Apr 28 16:49:13 2025
26

37
* httpbin.org is being a bit unreliable at the moment

lib/File/Fetch.pm

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ use vars qw[ $VERBOSE $PREFER_BIN $FROM_EMAIL $USER_AGENT
2323
$FTP_PASSIVE $TIMEOUT $DEBUG $WARN $FORCEIPV4
2424
];
2525

26-
$VERSION = '1.06';
26+
$VERSION = '1.08';
2727
$VERSION = eval $VERSION; # avoid warnings with development releases
2828
$PREFER_BIN = 0; # XXX TODO implement
2929
$FROM_EMAIL = '[email protected]';

t/01_File-Fetch.t

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ $IPC::Cmd::DEBUG = $IPC::Cmd::DEBUG = 1 if $ARGV[0];
1919

2020
$File::Fetch::FORCEIPV4 = $File::Fetch::FORCEIPV4 = 1;
2121

22-
$File::Fetch::TIMOUT = $File::Fetch::TIMEOUT = 30;
22+
$File::Fetch::TIMEOUT = $File::Fetch::TIMEOUT = 30;
2323

2424
unless( $ENV{PERL_CORE} ) {
2525
warn qq[
@@ -204,15 +204,15 @@ for my $entry (@map) {
204204
### Heuristics
205205
{
206206
require IO::Socket::INET;
207-
my $sock = IO::Socket::INET->new( PeerAddr => 'httpbin.org', PeerPort => 80, Timeout => 20 )
207+
my $sock = IO::Socket::INET->new( PeerAddr => 'httpbingo.org', PeerPort => 80, Timeout => 20 )
208208
or $heuristics{http} = 0;
209209
}
210210

211211
### http:// tests ###
212-
{ for my $uri ( 'http://httpbin.org',
213-
'http://httpbin.org/html',
214-
'http://httpbin.org/response-headers?q=1',
215-
'http://httpbin.org/response-headers?q=1&y=2',
212+
{ for my $uri ( 'http://httpbingo.org',
213+
'http://httpbingo.org/html',
214+
'http://httpbingo.org/response-headers?q=1',
215+
'http://httpbingo.org/response-headers?q=1&y=2',
216216
#'http://www.cpan.org/index.html?q=1&y=2',
217217
#'http://user:[email protected]/basic-auth/user/passwd',
218218
) {

0 commit comments

Comments
 (0)