Document the option available to set custom response headers in UI portals
Nobody has claimed this yet.
- Dominant language
- CSS
- Stars
- 99
- Forks
- 708
- Avg merge
- 1d 7h
- Merged PRs (30d)
- 22
Description
Description:
Currently, users cannot set custom response headers for the web pages served in the APIM portals (publisher, devportal and admin). The new option in https://github.com/wso2/carbon-kernel/pull/3627 let users easily set custom response headers (ex: referrer policy, CSP ) for their specific usecases using deployment.toml as shown below.
[[tomcat.custom_response_header_filters]]
headers = "X-WSO2-Test-Header:Test Value, X-WSO2-Test-Header-2:Test Value-2"
filter_url_pattern = "/*"
Related Issues:
https://github.com/wso2/api-manager/issues/1272
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by locating the APIM documentation for the publisher, devportal, and admin portals. Document the deployment.toml [[tomcat.custom_response_header_filters]] option using the provided headers and filter_url_pattern example, and explain that it enables custom response headers for portal pages.
Written by the indexing model from the issue text.
Assessment
- Domain
- documentation
- Issue type
- Documentation
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100