Skip to content

Commit e5a30ff

Browse files
committed
Update the README file
1 parent f3d5123 commit e5a30ff

File tree

1 file changed

+19
-1
lines changed

1 file changed

+19
-1
lines changed

README.md

Lines changed: 19 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -187,7 +187,7 @@ The service requires the following configuration parameters:
187187
```
188188

189189

190-
- <a id="properties/cors_allowed_headers"></a>**`cors_allowed_headers`**: A list of HTTP request headers that should be supported for cross-origin requests. Defaults to []. You can use ['*'] to allow all headers. The Accept, Accept-Language, Content-Language and Content-Type headers are always allowed for CORS requests. Default: `null`.
190+
- <a id="properties/cors_allowed_headers"></a>**`cors_allowed_headers`**: A list of HTTP request headers that should be supported for cross-origin requests. Defaults to []. You can use ['*'] to allow all request headers. The Accept, Accept-Language, Content-Language, Content-Type and some are always allowed for CORS requests. Default: `null`.
191191

192192
- **Any of**
193193

@@ -205,6 +205,24 @@ The service requires the following configuration parameters:
205205
```
206206

207207

208+
- <a id="properties/cors_exposed_headers"></a>**`cors_exposed_headers`**: A list of HTTP response headers that should be exposed for cross-origin responses. Defaults to []. Note that you can NOT use ['*'] to expose all response headers. The Cache-Control, Content-Language, Content-Length, Content-Type, Expires, Last-Modified and Pragma headers are always exposed for CORS responses. Default: `null`.
209+
210+
- **Any of**
211+
212+
- <a id="properties/cors_exposed_headers/anyOf/0"></a>*array*
213+
214+
- <a id="properties/cors_exposed_headers/anyOf/0/items"></a>**Items** *(string)*
215+
216+
- <a id="properties/cors_exposed_headers/anyOf/1"></a>*null*
217+
218+
219+
Examples:
220+
221+
```json
222+
[]
223+
```
224+
225+
208226
- <a id="properties/generate_correlation_id"></a>**`generate_correlation_id`** *(boolean)*: A flag, which, if False, will result in an error when inbound requests don't possess a correlation ID. If True, requests without a correlation ID will be assigned a newly generated ID in the correlation ID middleware function. Default: `true`.
209227

210228

0 commit comments

Comments
 (0)