From 8029e2d1107e4663f1104ebf25c40f252c8ea111 Mon Sep 17 00:00:00 2001 From: Valery Piashchynski Date: Thu, 21 Jan 2021 16:08:06 +0300 Subject: Fix headers configs Update rr.yaml Remove previous stderr messages when they were sent --- tests/plugins/headers/configs/.rr-cors-headers.yaml | 16 ++++++++-------- tests/plugins/headers/configs/.rr-headers-init.yaml | 16 ++++++++-------- tests/plugins/headers/configs/.rr-req-headers.yaml | 4 ++-- tests/plugins/headers/configs/.rr-res-headers.yaml | 4 ++-- 4 files changed, 20 insertions(+), 20 deletions(-) (limited to 'tests/plugins/headers') diff --git a/tests/plugins/headers/configs/.rr-cors-headers.yaml b/tests/plugins/headers/configs/.rr-cors-headers.yaml index c5ff576d..9d2ef7e5 100644 --- a/tests/plugins/headers/configs/.rr-cors-headers.yaml +++ b/tests/plugins/headers/configs/.rr-cors-headers.yaml @@ -17,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 059df9ac..b2781f2b 100644 --- a/tests/plugins/headers/configs/.rr-headers-init.yaml +++ b/tests/plugins/headers/configs/.rr-headers-init.yaml @@ -17,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 f0a52e17..a2b97171 100644 --- a/tests/plugins/headers/configs/.rr-req-headers.yaml +++ b/tests/plugins/headers/configs/.rr-req-headers.yaml @@ -17,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 868b9746..4448343c 100644 --- a/tests/plugins/headers/configs/.rr-res-headers.yaml +++ b/tests/plugins/headers/configs/.rr-res-headers.yaml @@ -17,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 -- cgit v1.2.3