Commit 0be3f5e0 authored by Tristan Cavelier's avatar Tristan Cavelier

206 Partial Content status code added

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