Skip to content
Draft
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
3 changes: 1 addition & 2 deletions lib/Test/Nginx/Socket.pm
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down Expand Up @@ -4708,4 +4708,3 @@ THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
=head1 SEE ALSO

L<Test::Nginx::Lua>, L<Test::Nginx::Lua::Stream>, L<Test::Nginx::LWP>, L<Test::Base>.