Commit e8a5e62
authored
Schema errors: HTTP status code must be between 400-599 (webrpc#197)
If someone defined HTTP 200 for a schema error, the webrpc
clients wouldn't recognize it as an error. Instead, they'd
treat the response body as a regular response data object.1 parent a6758ac commit e8a5e62
1 file changed
Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
31 | 31 | | |
32 | 32 | | |
33 | 33 | | |
34 | | - | |
35 | | - | |
| 34 | + | |
| 35 | + | |
36 | 36 | | |
37 | 37 | | |
38 | 38 | | |
| |||
0 commit comments