gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[GNUnet-SVN] [libmicrohttpd] 02/02: reason_phrase.c: updated response ph


From: gnunet
Subject: [GNUnet-SVN] [libmicrohttpd] 02/02: reason_phrase.c: updated response phrases to latest.
Date: Fri, 24 Feb 2017 19:43:38 +0100

This is an automated email from the git hooks/post-receive script.

karlson2k pushed a commit to branch master
in repository libmicrohttpd.

commit 4b12c7f80c45381357dedb38a352b305c92562be
Author: Evgeny Grin (Karlson2k) <address@hidden>
AuthorDate: Fri Feb 24 21:37:53 2017 +0300

    reason_phrase.c: updated response phrases to latest.
---
 src/include/microhttpd.h       |  2 ++
 src/microhttpd/reason_phrase.c | 38 +++++++++++++++++++++++++++++---------
 2 files changed, 31 insertions(+), 9 deletions(-)

diff --git a/src/include/microhttpd.h b/src/include/microhttpd.h
index 201be288..18250294 100644
--- a/src/include/microhttpd.h
+++ b/src/include/microhttpd.h
@@ -298,6 +298,8 @@ _MHD_DEPR_MACRO("Macro MHD_LONG_LONG_PRINTF is deprecated, 
use MHD_UNSIGNED_LONG
  * These are the status codes defined for HTTP responses.
  * @{
  */
+/* See 
http://www.iana.org/assignments/http-status-codes/http-status-codes.xhtml */
+
 #define MHD_HTTP_CONTINUE 100
 #define MHD_HTTP_SWITCHING_PROTOCOLS 101
 #define MHD_HTTP_PROCESSING 102
diff --git a/src/microhttpd/reason_phrase.c b/src/microhttpd/reason_phrase.c
index ded65650..425bb47a 100644
--- a/src/microhttpd/reason_phrase.c
+++ b/src/microhttpd/reason_phrase.c
@@ -49,6 +49,25 @@ static const char *const two_hundred[] = {
   "Reset Content",
   "Partial Content",
   "Multi-Status",
+  "Already Reported",
+  "Unknown",
+  "Unknown", /* 210 */
+  "Unknown",
+  "Unknown",
+  "Unknown",
+  "Unknown",
+  "Unknown", /* 215 */
+  "Unknown",
+  "Unknown",
+  "Unknown",
+  "Unknown",
+  "Unknown", /* 220 */
+  "Unknown",
+  "Unknown",
+  "Unknown",
+  "Unknown",
+  "Unknown", /* 225 */
+  "IM Used"
 };
 
 static const char *const three_hundred[] = {
@@ -78,25 +97,25 @@ static const char *const four_hundred[] = {
   "Gone",
   "Length Required",
   "Precondition Failed",
-  "Request Entity Too Large",
-  "Request-URI Too Large",
+  "Payload Too Large",
+  "URI Too Long",
   "Unsupported Media Type",
-  "Requested Range Not Satisfiable",
+  "Range Not Satisfiable",
   "Expectation Failed",
   "Unknown",
   "Unknown",
   "Unknown", /* 420 */
-  "Unknown",
+  "Misdirected Request",
   "Unprocessable Entity",
   "Locked",
   "Failed Dependency",
   "Unordered Collection",
   "Upgrade Required",
   "Unknown",
-  "Unknown",
-  "Unknown",
+  "Precondition Required",
+  "Too Many Requests",
   "Unknown", /* 430 */
-  "Unknown",
+  "Request Header Fields Too Large",
   "Unknown",
   "Unknown",
   "Unknown",
@@ -128,9 +147,10 @@ static const char *const five_hundred[] = {
   "HTTP Version Not Supported",
   "Variant Also Negotiates",
   "Insufficient Storage",
-  "Unknown",
+  "Loop Detected",
   "Bandwidth Limit Exceeded",
-  "Not Extended"
+  "Not Extended",
+  "Network Authentication Required"
 };
 
 

-- 
To stop receiving notification emails like this one, please contact
address@hidden



reply via email to

[Prev in Thread] Current Thread [Next in Thread]