[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[GNUnet-SVN] [libmicrohttpd] 04/08: microhttpd.h: moved deprecated HTTP
From: |
gnunet |
Subject: |
[GNUnet-SVN] [libmicrohttpd] 04/08: microhttpd.h: moved deprecated HTTP code definitions to the end of the list |
Date: |
Sun, 09 Jun 2019 11:15:46 +0200 |
This is an automated email from the git hooks/post-receive script.
karlson2k pushed a commit to branch master
in repository libmicrohttpd.
commit b0e9299664b2b24721cf1e34e51a405f27a55bb0
Author: Evgeny Grin (Karlson2k) <address@hidden>
AuthorDate: Sat Jun 8 17:51:00 2019 +0300
microhttpd.h: moved deprecated HTTP code definitions to the end of the list
---
src/include/microhttpd.h | 28 ++++++++++++++++------------
1 file changed, 16 insertions(+), 12 deletions(-)
diff --git a/src/include/microhttpd.h b/src/include/microhttpd.h
index 16588812..2dee0c0b 100644
--- a/src/include/microhttpd.h
+++ b/src/include/microhttpd.h
@@ -341,9 +341,6 @@ _MHD_DEPR_MACRO("Macro MHD_LONG_LONG_PRINTF is deprecated,
use MHD_UNSIGNED_LONG
#define MHD_HTTP_NOT_FOUND 404
#define MHD_HTTP_METHOD_NOT_ALLOWED 405
#define MHD_HTTP_NOT_ACCEPTABLE 406
-/** @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
#define MHD_HTTP_PROXY_AUTHENTICATION_REQUIRED 407
#define MHD_HTTP_REQUEST_TIMEOUT 408
#define MHD_HTTP_CONFLICT 409
@@ -351,18 +348,9 @@ _MHD_DEPR_MACRO("Macro MHD_LONG_LONG_PRINTF is deprecated,
use MHD_UNSIGNED_LONG
#define MHD_HTTP_LENGTH_REQUIRED 411
#define MHD_HTTP_PRECONDITION_FAILED 412
#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_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
@@ -395,6 +383,22 @@ _MHD_DEPR_MACRO("Macro MHD_LONG_LONG_PRINTF is deprecated,
use MHD_UNSIGNED_LONG
#define MHD_HTTP_NOT_EXTENDED 510
#define MHD_HTTP_NETWORK_AUTHENTICATION_REQUIRED 511
+/** @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
+
+/** @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
+
+/** @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
+
+/** @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
+
/** @} */ /* 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 <=
- [GNUnet-SVN] [libmicrohttpd] 05/08: microhttpd.h: moved together deprecated and non-standard HTTP status codes, deprecated more HTTP status codes, gnunet, 2019/06/09
- [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