diff options
Diffstat (limited to 'tests/plugins/headers')
4 files changed, 20 insertions, 24 deletions
diff --git a/tests/plugins/headers/configs/.rr-cors-headers.yaml b/tests/plugins/headers/configs/.rr-cors-headers.yaml index 2e16ee66..9d2ef7e5 100644 --- a/tests/plugins/headers/configs/.rr-cors-headers.yaml +++ b/tests/plugins/headers/configs/.rr-cors-headers.yaml @@ -8,7 +8,6 @@ server: relay_timeout: "20s" http: - debug: true address: 127.0.0.1:22855 max_request_size: 1024 middleware: [ "headers" ] @@ -18,16 +17,16 @@ http: # Additional HTTP headers and CORS control. headers: cors: - allowedOrigin: "*" - allowedHeaders: "*" - allowedMethods: "GET,POST,PUT,DELETE" - allowCredentials: true - exposedHeaders: "Cache-Control,Content-Language,Content-Type,Expires,Last-Modified,Pragma" - maxAge: 600 + allowed_origin: "*" + allowed_headers: "*" + allowed_methods: "GET,POST,PUT,DELETE" + allow_credentials: true + exposed_headers: "Cache-Control,Content-Language,Content-Type,Expires,Last-Modified,Pragma" + max_age: 600 request: - "input": "custom-header" + input: "custom-header" response: - "output": "output-header" + output: "output-header" pool: num_workers: 2 max_jobs: 0 diff --git a/tests/plugins/headers/configs/.rr-headers-init.yaml b/tests/plugins/headers/configs/.rr-headers-init.yaml index 55b5b5a8..b2781f2b 100644 --- a/tests/plugins/headers/configs/.rr-headers-init.yaml +++ b/tests/plugins/headers/configs/.rr-headers-init.yaml @@ -8,7 +8,6 @@ server: relay_timeout: "20s" http: - debug: true address: 127.0.0.1:33453 max_request_size: 1024 middleware: [ "headers" ] @@ -18,16 +17,16 @@ http: # Additional HTTP headers and CORS control. headers: cors: - allowedOrigin: "*" - allowedHeaders: "*" - allowedMethods: "GET,POST,PUT,DELETE" - allowCredentials: true - exposedHeaders: "Cache-Control,Content-Language,Content-Type,Expires,Last-Modified,Pragma" - maxAge: 600 + allowed_origin: "*" + allowed_headers: "*" + allowed_methods: "GET,POST,PUT,DELETE" + allow_credentials: true + exposed_headers: "Cache-Control,Content-Language,Content-Type,Expires,Last-Modified,Pragma" + max_age: 600 request: - "Example-Request-Header": "Value" + Example-Request-Header: "Value" response: - "X-Powered-By": "RoadRunner" + X-Powered-By: "RoadRunner" pool: num_workers: 2 max_jobs: 0 diff --git a/tests/plugins/headers/configs/.rr-req-headers.yaml b/tests/plugins/headers/configs/.rr-req-headers.yaml index fc38a74b..a2b97171 100644 --- a/tests/plugins/headers/configs/.rr-req-headers.yaml +++ b/tests/plugins/headers/configs/.rr-req-headers.yaml @@ -8,7 +8,6 @@ server: relay_timeout: "20s" http: - debug: true address: 127.0.0.1:22655 max_request_size: 1024 middleware: [ "headers" ] @@ -18,9 +17,9 @@ http: # Additional HTTP headers and CORS control. headers: request: - "input": "custom-header" + input: "custom-header" response: - "output": "output-header" + output: "output-header" pool: num_workers: 2 max_jobs: 0 diff --git a/tests/plugins/headers/configs/.rr-res-headers.yaml b/tests/plugins/headers/configs/.rr-res-headers.yaml index be9cfead..4448343c 100644 --- a/tests/plugins/headers/configs/.rr-res-headers.yaml +++ b/tests/plugins/headers/configs/.rr-res-headers.yaml @@ -8,7 +8,6 @@ server: relay_timeout: "20s" http: - debug: true address: 127.0.0.1:22455 max_request_size: 1024 middleware: [ "headers" ] @@ -18,9 +17,9 @@ http: # Additional HTTP headers and CORS control. headers: request: - "input": "custom-header" + input: "custom-header" response: - "output": "output-header" + output: "output-header" pool: num_workers: 2 max_jobs: 0 |