Commit c989cbd
committed
Replaced 404 response with 204 (empty)
For subscriptions that do not yet exist, return a 204 `NO CONTENT`
response instead of a 404 `NOT FOUND`. Backbone handles empty reponses
correctly, and the 204 code will not trigger a jQuery `ajaxError` event.1 parent e6f6bc3 commit c989cbd
1 file changed
Lines changed: 1 addition & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
481 | 481 | | |
482 | 482 | | |
483 | 483 | | |
484 | | - | |
485 | | - | |
486 | | - | |
| 484 | + | |
487 | 485 | | |
488 | 486 | | |
489 | 487 | | |
| |||
0 commit comments