Commit c21b801
committed
feat(tomcat,build): add CORS support, improve SSE, bump versions and deps
Add full CORS handling to TomcatServer (Origin, credentials, preflight OPTIONS, configurable headers/methods/max-age)
Fix request handling signature to pass Request object into handleRequest
Improve SSE response header (text/event-stream; charset=utf-8)
Improve protocol detection using request.isSecure() instead of server flag
Minor code style cleanups (spacing, instanceof pattern matching, formatting)
Bump versions:
tinystruct: 1.7.11 → 1.7.17
module: 1.0.5 → 1.0.6
tomcat: 11.0.13 → 11.0.15
jupiter: 6.0.1 → 6.0.2
Disable GPG signing in build config
Update IDEA project to include netty & undertow modules
Update dispatcher scripts to 1.7.171 parent 08b83ae commit c21b801
3 files changed
Lines changed: 7 additions & 6 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
17 | 17 | | |
18 | 18 | | |
19 | 19 | | |
20 | | - | |
| 20 | + | |
21 | 21 | | |
22 | 22 | | |
23 | 23 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
19 | 19 | | |
20 | 20 | | |
21 | 21 | | |
22 | | - | |
| 22 | + | |
23 | 23 | | |
24 | 24 | | |
25 | 25 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
9 | | - | |
| 9 | + | |
10 | 10 | | |
11 | 11 | | |
12 | 12 | | |
| |||
31 | 31 | | |
32 | 32 | | |
33 | 33 | | |
34 | | - | |
35 | | - | |
36 | | - | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
37 | 37 | | |
38 | 38 | | |
39 | 39 | | |
| |||
152 | 152 | | |
153 | 153 | | |
154 | 154 | | |
| 155 | + | |
155 | 156 | | |
156 | 157 | | |
157 | 158 | | |
| |||
0 commit comments