|
|
|
|
|
by gumballhead
3988 days ago
|
|
Even if it is internal, you're just making things harder on yourself if you go against convention for no reason. Most client networking libraries have abstractions built upon those conventions. Like jquerys $.ajax: it returns a promise that will invoke the failure callback for a response other than a 200 level code. |
|