Commit 2463dfb
authored
Be nice to more standard http servers. (#448)
* Be nice to more standard http servers.
Handle HTTP status codes coming from the runtime server
in a way that plays nice with local development tools
like the runtime interface emulator.
Signed-off-by: David Calavera <david.calavera@gmail.com>
* Enable http niciness only when binaries are compiled in debug mode.
Signed-off-by: David Calavera <david.calavera@gmail.com>1 parent 0bcc004 commit 2463dfb
2 files changed
+20
-5
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
72 | 72 | | |
73 | 73 | | |
74 | 74 | | |
75 | | - | |
| 75 | + | |
76 | 76 | | |
77 | 77 | | |
78 | 78 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
97 | 97 | | |
98 | 98 | | |
99 | 99 | | |
100 | | - | |
| 100 | + | |
101 | 101 | | |
102 | | - | |
| 102 | + | |
103 | 103 | | |
104 | 104 | | |
| 105 | + | |
| 106 | + | |
| 107 | + | |
| 108 | + | |
| 109 | + | |
| 110 | + | |
| 111 | + | |
| 112 | + | |
| 113 | + | |
| 114 | + | |
| 115 | + | |
| 116 | + | |
| 117 | + | |
| 118 | + | |
| 119 | + | |
| 120 | + | |
| 121 | + | |
105 | 122 | | |
106 | 123 | | |
107 | | - | |
108 | | - | |
109 | 124 | | |
110 | 125 | | |
111 | 126 | | |
| |||
0 commit comments