From 86effa3896142ca9fc5d7db9c21752ef06fea172 Mon Sep 17 00:00:00 2001 From: yoshikazusawa <883514+yoshikazusawa@users.noreply.github.com> Date: Sun, 13 Oct 2024 00:11:13 +0900 Subject: [PATCH] Fix few minor typos --- lib/HTTP/Status.pm | 2 +- t/headers.t | 2 +- t/response.t | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/lib/HTTP/Status.pm b/lib/HTTP/Status.pm index e41d759d..7c41355c 100644 --- a/lib/HTTP/Status.pm +++ b/lib/HTTP/Status.pm @@ -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 diff --git a/t/headers.t b/t/headers.t index 6b0e4b37..2bdf0c72 100644 --- a/t/headers.t +++ b/t/headers.t @@ -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" ); diff --git a/t/response.t b/t/response.t index 213ac8f0..b55fdff0 100644 --- a/t/response.t +++ b/t/response.t @@ -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');