From f99da8acb13b63f308816a7055cb9082ad32b29a Mon Sep 17 00:00:00 2001
From: Tristan Cavelier <tristan.cavelier@tiolive.com>
Date: Thu, 19 Sep 2013 13:45:49 +0200
Subject: [PATCH] 206 Partial Content status code added

---
 src/jio/core/globals.js | 9 +++++++++
 1 file changed, 9 insertions(+)

diff --git a/src/jio/core/globals.js b/src/jio/core/globals.js
index 1906698..4211afa 100644
--- a/src/jio/core/globals.js
+++ b/src/jio/core/globals.js
@@ -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",
-- 
2.30.9