Skip to content

Commit

Permalink
Fix few minor typos
Browse files Browse the repository at this point in the history
  • Loading branch information
yoshikazusawa committed Oct 12, 2024
1 parent 12013ba commit 86effa3
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion lib/HTTP/Status.pm
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ my %StatusCode = (
503 => 'Service Unavailable',
504 => 'Gateway Timeout',
505 => 'HTTP Version Not Supported',
506 => 'Variant Also Negotiates', # RFC 2295: Transparant Ngttn
506 => 'Variant Also Negotiates', # RFC 2295: Transparent Ngttn
507 => 'Insufficient Storage', # RFC 4918: WebDAV
508 => 'Loop Detected', # RFC 5842: WebDAV bindings
# 509
Expand Down
2 changes: 1 addition & 1 deletion t/headers.t
Original file line number Diff line number Diff line change
Expand Up @@ -492,7 +492,7 @@ is(j($h->remove_header(':zap')), 'bang!|kapow!|shazam!');
$h->push_header(':zap', 'whomp', ':foo', 'quux');
is(j($h->header(':foo')), 'bar|quux');

# [RT#30579] IE6 appens "; length = NNNN" on If-Modified-Since (can we handle it)
# [RT#30579] IE6 appends "; length = NNNN" on If-Modified-Since (can we handle it)
$h = HTTP::Headers->new(
if_modified_since => "Sat, 29 Oct 1994 19:43:31 GMT; length=34343"
);
Expand Down
2 changes: 1 addition & 1 deletion t/response.t
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ $freshness_lifetime = $r->freshness_lifetime;
is($freshness_lifetime, 25);
$r->remove_header('expires');

# Now we try the 'Age' header and the Cache-Contol:
# Now we try the 'Age' header and the Cache-Control:
$r->header('Age', 300);
$r->push_header('Cache-Control', 'junk');
$r->push_header(Cache_Control => 'max-age = 10');
Expand Down

0 comments on commit 86effa3

Please sign in to comment.