Commit 522c404
docs(cors): note reverse-proxy header duplication on CORS godoc
Clarify that CORS headers are written before the handler runs, so chained
proxies that copy upstream CORS headers should dedupe at the proxy
(ReverseProxy.ModifyResponse) rather than expect this middleware to remove
duplicates. Refs #2853.
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>1 parent 5aa876b commit 522c404
1 file changed
Lines changed: 6 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
125 | 125 | | |
126 | 126 | | |
127 | 127 | | |
| 128 | + | |
| 129 | + | |
| 130 | + | |
| 131 | + | |
| 132 | + | |
| 133 | + | |
128 | 134 | | |
129 | 135 | | |
130 | 136 | | |
| |||
0 commit comments