add two moudles
This commit is contained in:
1 parent
c631e86b9a
commit
1be683b499
44 files changed
+12240
No files matched your search
@@ -0,0 +1,25 @@
|
||||
# vi:filetype=perl
|
||||
|
||||
use lib 'lib';
|
||||
use Test::Nginx::Socket;
|
||||
|
||||
plan tests => 3;
|
||||
|
||||
no_diff;
|
||||
|
||||
run_tests();
|
||||
|
||||
__DATA__
|
||||
|
||||
=== TEST 1: simple set (1 arg)
|
||||
--- config
|
||||
location /foo {
|
||||
deny all;
|
||||
more_set_headers 'X-Foo: Blah';
|
||||
}
|
||||
--- request
|
||||
GET /foo
|
||||
--- response_headers
|
||||
X-Foo: Blah
|
||||
--- response_body_like: 403 Forbidden
|
||||
--- error_code: 403
|
||||
Reference in new issue
Block a user