Backport EE http status codes new file to CE
This commit is contained in:
parent
c72c8e9a0e
commit
287a7757aa
1 changed files with 10 additions and 0 deletions
10
app/assets/javascripts/lib/utils/http_status.js
Normal file
10
app/assets/javascripts/lib/utils/http_status.js
Normal file
|
@ -0,0 +1,10 @@
|
|||
/**
|
||||
* exports HTTP status codes
|
||||
*/
|
||||
|
||||
const statusCodes = {
|
||||
NO_CONTENT: 204,
|
||||
OK: 200,
|
||||
};
|
||||
|
||||
module.exports = statusCodes;
|
Loading…
Reference in a new issue