20 lines
399 B
JavaScript
20 lines
399 B
JavaScript
|
/*
|
||
|
* Copyright (C) Sapphirecode - All Rights Reserved
|
||
|
* Created by Timo Hocker <timo@scode.ovh>, January 2020
|
||
|
*/
|
||
|
|
||
|
/* eslint-disable no-magic-numbers */
|
||
|
|
||
|
'use strict';
|
||
|
|
||
|
module.exports = {
|
||
|
http_consts: {
|
||
|
status_ok: 200,
|
||
|
status_ok_no_content: 204,
|
||
|
status_bad_request: 400,
|
||
|
status_unauthorized: 401,
|
||
|
status_forbidden: 403,
|
||
|
status_not_found: 404
|
||
|
}
|
||
|
};
|