summaryrefslogtreecommitdiff
path: root/tests/plugins/headers
diff options
context:
space:
mode:
authorValery Piashchynski <[email protected]>2021-01-21 16:08:06 +0300
committerValery Piashchynski <[email protected]>2021-01-21 16:08:06 +0300
commit8029e2d1107e4663f1104ebf25c40f252c8ea111 (patch)
tree7c9a6744fa9ce130d80c634da3d7596f70fda51a /tests/plugins/headers
parent7da6c78449776e1f3c6716250bca0b712a0423a4 (diff)
Fix headers configs
Update rr.yaml Remove previous stderr messages when they were sent
Diffstat (limited to 'tests/plugins/headers')
-rw-r--r--tests/plugins/headers/configs/.rr-cors-headers.yaml16
-rw-r--r--tests/plugins/headers/configs/.rr-headers-init.yaml16
-rw-r--r--tests/plugins/headers/configs/.rr-req-headers.yaml4
-rw-r--r--tests/plugins/headers/configs/.rr-res-headers.yaml4
4 files changed, 20 insertions, 20 deletions
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