Commit 625f167
committed
docs: correct middleware response flow comment
Fix middleware response flow description to accurately reflect LIFO behavior:
- Response flow is: Route Handler -> CORSMiddleware -> SecurityHeadersMiddleware
- CORSMiddleware processes first (adds CORS headers)
- SecurityHeadersMiddleware processes last (adds security headers without overriding CORS)
This is the desired behavior as security headers complement rather than override CORS headers.
Addresses Copilot review feedback1 parent 4f96820 commit 625f167
1 file changed
+3
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
147 | 147 | | |
148 | 148 | | |
149 | 149 | | |
150 | | - | |
151 | | - | |
152 | | - | |
| 150 | + | |
| 151 | + | |
| 152 | + | |
153 | 153 | | |
154 | 154 | | |
155 | 155 | | |
| |||
0 commit comments