This is an automated email from the ASF dual-hosted git repository.
tokers pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/apisix.git
The following commit(s) were added to refs/heads/master by this push:
new 6ec4c50 docs: default value correction in include_in_response (#4598)
6ec4c50 is described below
commit 6ec4c5033d309695cf11770a17c8de2b836ed479
Author: Ayush das <[email protected]>
AuthorDate: Thu Jul 15 06:20:24 2021 +0530
docs: default value correction in include_in_response (#4598)
---
docs/en/latest/plugins/request-id.md | 2 +-
docs/zh/latest/plugins/request-id.md | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/docs/en/latest/plugins/request-id.md
b/docs/en/latest/plugins/request-id.md
index babca3d..48f0124 100644
--- a/docs/en/latest/plugins/request-id.md
+++ b/docs/en/latest/plugins/request-id.md
@@ -39,7 +39,7 @@ API request. The plugin will not add a request id if the
`header_name` is alread
| Name | Type | Requirement | Default | Valid |
Description |
| ------------------- | ------- | ----------- | -------------- | ----- |
-------------------------------------------------------------- |
| header_name | string | optional | "X-Request-Id" | |
Request ID header name |
-| include_in_response | boolean | optional | false | |
Option to include the unique request ID in the response header |
+| include_in_response | boolean | optional | true | | Option
to include the unique request ID in the response header |
## How To Enable
diff --git a/docs/zh/latest/plugins/request-id.md
b/docs/zh/latest/plugins/request-id.md
index cf2373c..e480b27 100644
--- a/docs/zh/latest/plugins/request-id.md
+++ b/docs/zh/latest/plugins/request-id.md
@@ -38,7 +38,7 @@ title: request-id
| 名称 | 类型 | 必选项 | 默认值 | 有效值 | 描述
|
| ------------------- | ------- | -------- | -------------- | ------ |
------------------------------ |
| header_name | string | 可选 | "X-Request-Id" | | Request ID
header name |
-| include_in_response | boolean | 可选 | false | |
是否需要在返回头中包含该唯一ID |
+| include_in_response | boolean | 可选 | true | |
是否需要在返回头中包含该唯一ID |
## 如何启用