gnunet-svn
[Top][All Lists]
Advanced

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

[GNUnet-SVN] [libmicrohttpd] branch master updated: microhttpd.h: update


From: gnunet
Subject: [GNUnet-SVN] [libmicrohttpd] branch master updated: microhttpd.h: updated HTTP response codes according to HTTP Status Code Registry
Date: Thu, 23 Feb 2017 19:23:58 +0100

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

karlson2k pushed a commit to branch master
in repository libmicrohttpd.

The following commit(s) were added to refs/heads/master by this push:
     new a466152e microhttpd.h: updated HTTP response codes according to HTTP 
Status Code Registry
a466152e is described below

commit a466152e0d79fa4cdd8f11ca7388699b95a0af98
Author: Evgeny Grin (Karlson2k) <address@hidden>
AuthorDate: Thu Feb 23 21:21:28 2017 +0300

    microhttpd.h: updated HTTP response codes according to HTTP Status Code 
Registry
---
 src/include/microhttpd.h | 28 +++++++++++++++++++++++++---
 1 file changed, 25 insertions(+), 3 deletions(-)

diff --git a/src/include/microhttpd.h b/src/include/microhttpd.h
index e7879496..6ef99c22 100644
--- a/src/include/microhttpd.h
+++ b/src/include/microhttpd.h
@@ -310,6 +310,9 @@ _MHD_DEPR_MACRO("Macro MHD_LONG_LONG_PRINTF is deprecated, 
use MHD_UNSIGNED_LONG
 #define MHD_HTTP_RESET_CONTENT 205
 #define MHD_HTTP_PARTIAL_CONTENT 206
 #define MHD_HTTP_MULTI_STATUS 207
+#define MHD_HTTP_ALREADY_REPORTED 208
+
+#define MHD_HTTP_IM_USED 226
 
 #define MHD_HTTP_MULTIPLE_CHOICES 300
 #define MHD_HTTP_MOVED_PERMANENTLY 301
@@ -337,17 +340,34 @@ _MHD_DEPR_MACRO("Macro MHD_LONG_LONG_PRINTF is 
deprecated, use MHD_UNSIGNED_LONG
 #define MHD_HTTP_GONE 410
 #define MHD_HTTP_LENGTH_REQUIRED 411
 #define MHD_HTTP_PRECONDITION_FAILED 412
-#define MHD_HTTP_REQUEST_ENTITY_TOO_LARGE 413
-#define MHD_HTTP_REQUEST_URI_TOO_LONG 414
+#define MHD_HTTP_PAYLOAD_TOO_LARGE 413
+/** @deprecated */
+#define MHD_HTTP_REQUEST_ENTITY_TOO_LARGE \
+  _MHD_DEPR_IN_MACRO("Value MHD_HTTP_REQUEST_ENTITY_TOO_LARGE is deprecated, 
use MHD_HTTP_PAYLOAD_TOO_LARGE") 413
+#define MHD_HTTP_URI_TOO_LONG 414
+/** @deprecated */
+#define MHD_HTTP_REQUEST_URI_TOO_LONG \
+  _MHD_DEPR_IN_MACRO("Value MHD_HTTP_REQUEST_URI_TOO_LONG is deprecated, use 
MHD_HTTP_URI_TOO_LONG") 414
 #define MHD_HTTP_UNSUPPORTED_MEDIA_TYPE 415
-#define MHD_HTTP_REQUESTED_RANGE_NOT_SATISFIABLE 416
+#define MHD_HTTP_RANGE_NOT_SATISFIABLE 416
+/** @deprecated */
+#define MHD_HTTP_REQUESTED_RANGE_NOT_SATISFIABLE \
+  _MHD_DEPR_IN_MACRO("Value MHD_HTTP_REQUESTED_RANGE_NOT_SATISFIABLE is 
deprecated, use MHD_HTTP_RANGE_NOT_SATISFIABLE") 416
 #define MHD_HTTP_EXPECTATION_FAILED 417
+
+#define MHD_HTTP_MISDIRECTED_REQUEST 421
 #define MHD_HTTP_UNPROCESSABLE_ENTITY 422
 #define MHD_HTTP_LOCKED 423
 #define MHD_HTTP_FAILED_DEPENDENCY 424
 #define MHD_HTTP_UNORDERED_COLLECTION 425
 #define MHD_HTTP_UPGRADE_REQUIRED 426
+
+#define MHD_HTTP_PRECONDITION_REQUIRED 428
+#define MHD_HTTP_TOO_MANY_REQUESTS 429
+#define MHD_HTTP_REQUEST_HEADER_FIELDS_TOO_LARGE 431
+
 #define MHD_HTTP_NO_RESPONSE 444
+
 #define MHD_HTTP_RETRY_WITH 449
 #define MHD_HTTP_BLOCKED_BY_WINDOWS_PARENTAL_CONTROLS 450
 #define MHD_HTTP_UNAVAILABLE_FOR_LEGAL_REASONS 451
@@ -360,8 +380,10 @@ _MHD_DEPR_MACRO("Macro MHD_LONG_LONG_PRINTF is deprecated, 
use MHD_UNSIGNED_LONG
 #define MHD_HTTP_HTTP_VERSION_NOT_SUPPORTED 505
 #define MHD_HTTP_VARIANT_ALSO_NEGOTIATES 506
 #define MHD_HTTP_INSUFFICIENT_STORAGE 507
+#define MHD_HTTP_LOOP_DETECTED 508
 #define MHD_HTTP_BANDWIDTH_LIMIT_EXCEEDED 509
 #define MHD_HTTP_NOT_EXTENDED 510
+#define MHD_HTTP_NETWORK_AUTHENTICATION_REQUIRED 511
 
 /** @} */ /* end of group httpcode */
 

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



reply via email to

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