spring-cloud / spring-cloud/spring-cloud-gateway
Comma separated header values
Open
Nobody has claimed this yet.
documentation
- Dominant language
- Java
- Stars
- 4.9k
- Forks
- 3.5k
- Avg merge
- 20h 57m
- Merged PRs (30d)
- 8
Description
How do I set values with Authorization: public, s-maxage=600? The example below doesn't work. It would be really helpful if this is added to spring-cloud-gateway docs as I believe many people use header values with commas in them.
spring:
cloud:
gateway:
routes:
- id: something
filters:
- SetResponseHeader=Cache-Control, public, s-maxage=600
Contributor guide
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 with the Spring Cloud Gateway documentation for the SetResponseHeader filter and the YAML route example in the issue. Document how to express the comma-containing Cache-Control value, with the issue's example as the verification case; done when users can configure this header from the documentation alone.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java, spring-boot
- Domain
- documentation
- Issue type
- Documentation
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100