Commit d1f84785 authored by Tristan Cavelier's avatar Tristan Cavelier

"OK" property added to http status globals

"Ok" and "ok" was the only available string to use to make http code
200. "OK" should also be available.
parent ce64350c
......@@ -66,6 +66,7 @@ constants.http_status_text = {
"507": "Insufficient Storage",
"Ok": "Ok",
"OK": "Ok",
"Created": "Created",
"No Content": "No Content",
"Reset Content": "Reset Content",
......@@ -174,6 +175,7 @@ constants.http_status = {
"507": 507,
"Ok": 200,
"OK": 200,
"Created": 201,
"No Content": 204,
"Reset Content": 205,
......@@ -282,6 +284,7 @@ constants.http_action = {
"507": "error",
"Ok": "success",
"OK": "success",
"Created": "success",
"No Content": "success",
"Reset Content": "success",
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment