[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[GNUnet-SVN] [libmicrohttpd] 05/08: microhttpd.h: moved together depreca
From: |
gnunet |
Subject: |
[GNUnet-SVN] [libmicrohttpd] 05/08: microhttpd.h: moved together deprecated and non-standard HTTP status codes, deprecated more HTTP status codes |
Date: |
Sun, 09 Jun 2019 11:15:47 +0200 |
This is an automated email from the git hooks/post-receive script.
karlson2k pushed a commit to branch master
in repository libmicrohttpd.
commit badb814e445fa6cb7060dbfb3591095797e05c83
Author: Evgeny Grin (Karlson2k) <address@hidden>
AuthorDate: Sun Jun 9 11:20:00 2019 +0300
microhttpd.h: moved together deprecated and non-standard HTTP status codes,
deprecated more HTTP status codes
---
src/include/microhttpd.h | 30 ++++++++++++++++++++++++------
1 file changed, 24 insertions(+), 6 deletions(-)
diff --git a/src/include/microhttpd.h b/src/include/microhttpd.h
index 2dee0c0b..70a1b5be 100644
--- a/src/include/microhttpd.h
+++ b/src/include/microhttpd.h
@@ -357,17 +357,13 @@ _MHD_DEPR_MACRO("Macro MHD_LONG_LONG_PRINTF is
deprecated, use MHD_UNSIGNED_LONG
#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_REQUEST_HEADER_FIELDS_TOO_LARGE 431
-#define MHD_HTTP_RETRY_WITH 449
-#define MHD_HTTP_BLOCKED_BY_WINDOWS_PARENTAL_CONTROLS 450
#define MHD_HTTP_UNAVAILABLE_FOR_LEGAL_REASONS 451
#define MHD_HTTP_INTERNAL_SERVER_ERROR 500
@@ -379,10 +375,23 @@ _MHD_DEPR_MACRO("Macro MHD_LONG_LONG_PRINTF is
deprecated, use MHD_UNSIGNED_LONG
#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
+
+/* Not registered non-standard codes */
+/* 449 "Reply With". MS IIS extension. */
+#define MHD_HTTP_RETRY_WITH 449
+
+/* 450 "Blocked by Windows Parental Controls". MS extension. */
+#define MHD_HTTP_BLOCKED_BY_WINDOWS_PARENTAL_CONTROLS 450
+
+/* 509 "Bandwidth Limit Exceeded". Apache extension. */
+#define MHD_HTTP_BANDWIDTH_LIMIT_EXCEEDED 509
+
+
+/* Deprecated codes */
/** @deprecated */
#define MHD_HTTP_METHOD_NOT_ACCEPTABLE \
_MHD_DEPR_IN_MACRO("Value MHD_HTTP_METHOD_NOT_ACCEPTABLE is deprecated, use
MHD_HTTP_NOT_ACCEPTABLE") 406
@@ -399,6 +408,15 @@ _MHD_DEPR_MACRO("Macro MHD_LONG_LONG_PRINTF is deprecated,
use MHD_UNSIGNED_LONG
#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
+/** @deprecated */
+#define MHD_HTTP_UNORDERED_COLLECTION \
+ _MHD_DEPR_IN_MACRO("Value MHD_HTTP_UNORDERED_COLLECTION is deprecated as it
was removed from RFC") 425
+
+/** @deprecated */
+#define MHD_HTTP_NO_RESPONSE \
+ _MHD_DEPR_IN_MACRO("Value MHD_HTTP_NO_RESPONSE is deprecated as it is nginx
internal code for logs only") 444
+
+
/** @} */ /* end of group httpcode */
/**
--
To stop receiving notification emails like this one, please contact
address@hidden.
- [GNUnet-SVN] [libmicrohttpd] branch master updated (c530ee3b -> fb550a49), gnunet, 2019/06/09
- [GNUnet-SVN] [libmicrohttpd] 04/08: microhttpd.h: moved deprecated HTTP code definitions to the end of the list, gnunet, 2019/06/09
- [GNUnet-SVN] [libmicrohttpd] 05/08: microhttpd.h: moved together deprecated and non-standard HTTP status codes, deprecated more HTTP status codes,
gnunet <=
- [GNUnet-SVN] [libmicrohttpd] 06/08: contrib: implemented script for importing HTTP status codes, gnunet, 2019/06/09
- [GNUnet-SVN] [libmicrohttpd] 01/08: Updated .gitattributes, normalized line ending in source file, gnunet, 2019/06/09
- [GNUnet-SVN] [libmicrohttpd] 08/08: microhttpd.d: fixed Doxy for MHD_get_reason_phrase_for(), gnunet, 2019/06/09
- [GNUnet-SVN] [libmicrohttpd] 07/08: Updated HTTP status codes, gnunet, 2019/06/09
- [GNUnet-SVN] [libmicrohttpd] 02/08: contrib: published scripts for updating MHD header with new HTTP methods and headers, gnunet, 2019/06/09
- [GNUnet-SVN] [libmicrohttpd] 03/08: libmicrohttpd.h: Updated HTTP methods and headers, gnunet, 2019/06/09