Commit f99da8ac authored by Tristan Cavelier's avatar Tristan Cavelier

206 Partial Content status code added

parent 20d2a22f
...@@ -37,6 +37,7 @@ constants.http_status_text = { ...@@ -37,6 +37,7 @@ constants.http_status_text = {
"201": "Created", "201": "Created",
"204": "No Content", "204": "No Content",
"205": "Reset Content", "205": "Reset Content",
"206": "Partial Content",
"400": "Bad Request", "400": "Bad Request",
"401": "Unauthorized", "401": "Unauthorized",
"402": "Payment Required", "402": "Payment Required",
...@@ -68,6 +69,7 @@ constants.http_status_text = { ...@@ -68,6 +69,7 @@ constants.http_status_text = {
"Created": "Created", "Created": "Created",
"No Content": "No Content", "No Content": "No Content",
"Reset Content": "Reset Content", "Reset Content": "Reset Content",
"Partial Content": "Partial Content",
"Bad Request": "Bad Request", "Bad Request": "Bad Request",
"Unauthorized": "Unauthorized", "Unauthorized": "Unauthorized",
"Payment Required": "Payment Required", "Payment Required": "Payment Required",
...@@ -99,6 +101,7 @@ constants.http_status_text = { ...@@ -99,6 +101,7 @@ constants.http_status_text = {
"created": "Created", "created": "Created",
"no_content": "No Content", "no_content": "No Content",
"reset_content": "Reset Content", "reset_content": "Reset Content",
"partial_content": "Partial Content",
"bad_request": "Bad Request", "bad_request": "Bad Request",
"unauthorized": "Unauthorized", "unauthorized": "Unauthorized",
"payment_required": "Payment Required", "payment_required": "Payment Required",
...@@ -142,6 +145,7 @@ constants.http_status = { ...@@ -142,6 +145,7 @@ constants.http_status = {
"201": 201, "201": 201,
"204": 204, "204": 204,
"205": 205, "205": 205,
"206": 206,
"400": 400, "400": 400,
"401": 401, "401": 401,
"402": 402, "402": 402,
...@@ -173,6 +177,7 @@ constants.http_status = { ...@@ -173,6 +177,7 @@ constants.http_status = {
"Created": 201, "Created": 201,
"No Content": 204, "No Content": 204,
"Reset Content": 205, "Reset Content": 205,
"Partial Content": 206,
"Bad Request": 400, "Bad Request": 400,
"Unauthorized": 401, "Unauthorized": 401,
"Payment Required": 402, "Payment Required": 402,
...@@ -204,6 +209,7 @@ constants.http_status = { ...@@ -204,6 +209,7 @@ constants.http_status = {
"created": 201, "created": 201,
"no_content": 204, "no_content": 204,
"reset_content": 205, "reset_content": 205,
"partial_content": 206,
"bad_request": 400, "bad_request": 400,
"unauthorized": 401, "unauthorized": 401,
"payment_required": 402, "payment_required": 402,
...@@ -247,6 +253,7 @@ constants.http_action = { ...@@ -247,6 +253,7 @@ constants.http_action = {
"201": "success", "201": "success",
"204": "success", "204": "success",
"205": "success", "205": "success",
"206": "success",
"400": "error", "400": "error",
"401": "error", "401": "error",
"402": "error", "402": "error",
...@@ -278,6 +285,7 @@ constants.http_action = { ...@@ -278,6 +285,7 @@ constants.http_action = {
"Created": "success", "Created": "success",
"No Content": "success", "No Content": "success",
"Reset Content": "success", "Reset Content": "success",
"Partial Content": "success",
"Bad Request": "error", "Bad Request": "error",
"Unauthorized": "error", "Unauthorized": "error",
"Payment Required": "error", "Payment Required": "error",
...@@ -309,6 +317,7 @@ constants.http_action = { ...@@ -309,6 +317,7 @@ constants.http_action = {
"created": "success", "created": "success",
"no_content": "success", "no_content": "success",
"reset_content": "success", "reset_content": "success",
"partial_content": "success",
"bad_request": "error", "bad_request": "error",
"unauthorized": "error", "unauthorized": "error",
"payment_required": "error", "payment_required": "error",
......
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