diff --git a/lib/Test/Nginx/Socket.pm b/lib/Test/Nginx/Socket.pm index 398fbd87..610155a0 100644 --- a/lib/Test/Nginx/Socket.pm +++ b/lib/Test/Nginx/Socket.pm @@ -990,7 +990,7 @@ sub check_response_headers($$$$$) { #warn "HIT"; SKIP: { skip "$name - response_headers - tests skipped due to $dry_run", 1 if $dry_run; - unlike $raw_headers, qr/^\s*\Q$key\E\s*:/ms, + unlike $raw_headers, qr/^(?i)\s*\Q$key\E\s*:/ms, "$name - header $key not present in the raw headers"; } next; @@ -4708,4 +4708,3 @@ THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND =head1 SEE ALSO L, L, L, L. -