From b2c09ad412935750bf5dcb857f1664ca882ad382 Mon Sep 17 00:00:00 2001 From: aperezg Date: Sat, 11 May 2019 23:41:23 +0200 Subject: [PATCH] fixes PR comments --- README.md | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index 9549cf1..846fd6c 100644 --- a/README.md +++ b/README.md @@ -217,29 +217,29 @@ curl --header "Content-Type: application/json" \ If you want to use `killgrave` on your client application you must consider to configure correctly all about CORS, thus we offer the possibility to configure as you need through a config file. -In the CORS section of the file you can found the next options: +In the CORS section of the file you can find the next options: - **methods** (string array) - Represent the **Access-Control-Request-Method header**, if you not specified or leave as empty array the default value will be: + Represent the **Access-Control-Request-Method header**, if you don't specify it or if you do leave it as any empty array, the default values will be: `"GET", "HEAD", "POST", "PUT", "OPTIONS", "DELETE", "PATCH", "TRACE", "CONNECT"` - **headers** (string array) - Represent the **Access-Control-Request-Headers header**, if you not specified or leave as empty array the default value will be: + Represent the **Access-Control-Request-Headers header**, if you don't specify it or if you do leave it as any empty array, the default values will be: `"X-Requested-With", "Content-Type", "Authorization"` - **exposed_headers** (string array) - Represent the **Access-Control-Expose-Headers header**, if you not specified or leave as empty array the default value will be: + Represent the **Access-Control-Expose-Headers header**, if you don't specify it or if you do leave it as any empty array, the default values will be: `"Cache-Control", "Content-Language", "Content-Type", "Expires", "Last-Modified", "Pragma"` - **origins** (string array) - Represent the **Access-Control-Allow-Origin header**, if you not specified or leave as empty array this options has not default value + Represent the **Access-Control-Allow-Origin header**, if you don't specify or leave as empty array this options has not default value - **allow_credentials** (boolean)