HTTP Response Header Management Plug-in
Overview
An HTTP response header is a part of an API response. The HTTP response header management plug-in provides the capability of customizing HTTP response headers and returns the customized response headers in API responses.
Restrictions
- The system response headers (such as x-apig-* and x-request-id) added on ROMA Connect cannot be modified.
- The response headers added for CORS cannot be modified.
Parameter Description
|
Parameter |
Description |
|---|---|
|
Name |
Response header name. A response header with the same name (case-insensitive) cannot be added to each plug-in. |
|
Value |
Response header value. This parameter does not take effect and can be left blank if you set Action to Delete. |
|
Action |
Response header operation. You can override, append, delete, skip, or add response headers.
|
Script Configuration Example
{
"response_headers": [
{
"name": "header1",
"value": "test",
"action": "append"
},
{
"name": "header2",
"value": "roma",
"action": "override"
}
]
}
Last Article: Kafka Log Pushing Plug-in
Next Article: Circuit Breaker Plug-in
Did this article solve your problem?
Thank you for your score!Your feedback would help us improve the website.