Skip to content

Commit

Permalink
Merge pull request fluent#355 from ashie/in-http-allow-credentials
Browse files Browse the repository at this point in the history
1.0: in_http: Add a new parameter cors_allow_credentials
  • Loading branch information
kenhys authored Aug 24, 2021
2 parents 68fe477 + a0d9261 commit 5efdc32
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions input/http.md
Original file line number Diff line number Diff line change
Expand Up @@ -136,6 +136,14 @@ Example:
</source>
```

### `cors_allow_credentials`

| type | default | version |
| :--- | :--- | :--- |
| bool | false | 1.14.0 |

Add [`Access-Control-Allow-Credentials`](https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Access-Control-Allow-Credentials) header. It's needed when a request's credentials mode is `include`. An example of use case is using [Beacon API](https://developer.mozilla.org/en-US/docs/Web/API/Beacon_API), its request mode is always `include`.

### `respond_with_empty_img`

| type | default | version |
Expand Down

0 comments on commit 5efdc32

Please sign in to comment.