Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix few minor typos #202

Merged
merged 1 commit into from
Oct 14, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading