Commit 16d5e9b
Actually set headers in sinatra routes
The headers weren't actually set previously.
The statement `headers = res_headers` doesn't have any effect, since it
only creates a local variable.
Signed-off-by: Alexis Reigel <mail@koffeinfrei.org>1 parent 743b274 commit 16d5e9b
1 file changed
+8
-12
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
13 | 13 | | |
14 | 14 | | |
15 | 15 | | |
16 | | - | |
17 | | - | |
18 | | - | |
| 16 | + | |
19 | 17 | | |
20 | 18 | | |
21 | 19 | | |
22 | | - | |
23 | | - | |
24 | | - | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
25 | 23 | | |
26 | 24 | | |
27 | 25 | | |
28 | | - | |
29 | | - | |
| 26 | + | |
30 | 27 | | |
31 | | - | |
| 28 | + | |
32 | 29 | | |
33 | 30 | | |
34 | 31 | | |
35 | | - | |
36 | | - | |
| 32 | + | |
37 | 33 | | |
38 | | - | |
| 34 | + | |
39 | 35 | | |
0 commit comments