opt-cc/opt-cc-api/routes/http-codes.js

21 lines
379 B
JavaScript
Raw Normal View History

2017-05-10 11:04:06 +02:00
/**
* mini-module providing the HTTP Status codes
* #
* @author Johannes Konert
* @module http-codes
*/
"use strict";
module.exports = {
success: 200,
created: 201,
nocontent: 204,
wrongrequest: 400,
forbidden: 403,
notfound: 404,
wrongmethod: 405,
conflict: 409,
wrongdatatyperequest: 406,
wrongmediasend: 415,
servererror: 500
};