HTTP Response Header Management Plug-in
Overview
An HTTP response header is a part of an API response. An HTTP response header management plug-in enables you to customize HTTP response headers that will be returned in an API response.
Restrictions
- The system response headers (such as x-apig-* and x-request-id) cannot be modified.
- The response headers for CORS cannot be modified.
Parameter Description
Parameter |
Description |
---|---|
Name |
Response header name, which is case-insensitive and must be unique within a plug-in. |
Value |
Value of the response header. 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 the specified header.
|
Script Configuration Example
{ "response_headers": [ { "name": "header1", "value": "test", "action": "append" }, { "name": "header2", "value": "roma", "action": "override" } ] }
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.See the reply and handling status in My Cloud VOC.
For any further questions, feel free to contact us through the chatbot.
Chatbot