diff options
author | Filipa Lacerda <filipa@gitlab.com> | 2017-02-27 14:35:37 +0300 |
---|---|---|
committer | Filipa Lacerda <filipa@gitlab.com> | 2017-02-27 14:35:37 +0300 |
commit | 287a7757aaff54deb14502632fc1e90a183bcd8f (patch) | |
tree | a8e28fbd39faa24fbad83d9fce72669d4804d3fe /app/assets/javascripts/lib | |
parent | c72c8e9a0effb2947c47977c2bb686578193aaba (diff) |
Backport EE http status codes new file to CE
Diffstat (limited to 'app/assets/javascripts/lib')
-rw-r--r-- | app/assets/javascripts/lib/utils/http_status.js | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/app/assets/javascripts/lib/utils/http_status.js b/app/assets/javascripts/lib/utils/http_status.js new file mode 100644 index 00000000000..bc109a69c20 --- /dev/null +++ b/app/assets/javascripts/lib/utils/http_status.js @@ -0,0 +1,10 @@ +/** + * exports HTTP status codes + */ + +const statusCodes = { + NO_CONTENT: 204, + OK: 200, +}; + +module.exports = statusCodes; |