File tree Expand file tree Collapse file tree 2 files changed +4
-3
lines changed Expand file tree Collapse file tree 2 files changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -304,9 +304,10 @@ like($@, qr/^Illegal field name '' at \Q$file\E line $line/);
304
304
305
305
# ---- old tests below -----
306
306
307
- $h = new HTTP::Headers
307
+ $h = HTTP::Headers-> new(
308
308
mime_version => " 1.0" ,
309
- content_type => " text/html" ;
309
+ content_type => " text/html"
310
+ );
310
311
$h -> header(URI => " http://www.oslonett.no/" );
311
312
312
313
is($h -> header(" MIME-Version" ), " 1.0" );
Original file line number Diff line number Diff line change @@ -16,7 +16,7 @@ my $time = time;
16
16
my $req = HTTP::Request-> new(GET => ' http://www.sn.no' );
17
17
$req -> date($time - 30);
18
18
19
- my $r = new HTTP::Response 200, " OK" ;
19
+ my $r = HTTP::Response-> new( 200, " OK" ) ;
20
20
$r -> client_date($time - 20);
21
21
$r -> date($time - 25);
22
22
$r -> last_modified($time - 5000000);
You can’t perform that action at this time.
0 commit comments