[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[GNUnet-SVN] r35998 - libmicrohttpd/src/include
From: |
gnunet |
Subject: |
[GNUnet-SVN] r35998 - libmicrohttpd/src/include |
Date: |
Fri, 26 Jun 2015 11:28:32 +0200 |
Author: grothoff
Date: 2015-06-26 11:28:32 +0200 (Fri, 26 Jun 2015)
New Revision: 35998
Modified:
libmicrohttpd/src/include/microhttpd.h
Log:
add content-disposition
Modified: libmicrohttpd/src/include/microhttpd.h
===================================================================
--- libmicrohttpd/src/include/microhttpd.h 2015-06-26 03:53:16 UTC (rev
35997)
+++ libmicrohttpd/src/include/microhttpd.h 2015-06-26 09:28:32 UTC (rev
35998)
@@ -130,7 +130,7 @@
* Current version of the library.
* 0x01093001 = 1.9.30-1.
*/
-#define MHD_VERSION 0x00094203
+#define MHD_VERSION 0x00094204
/**
* MHD-internal return code for "YES".
@@ -215,7 +215,7 @@
#define _MHD_DEPR_MACRO(msg) _MHD_GCC_PRAG(GCC warning msg)
#else /* older clang or GCC */
#define _MHD_DEPR_MACRO(msg) _MHD_GCC_PRAG(message msg)
-#endif
+#endif
/* #elif defined(SOMEMACRO) */ /* add compiler-specific macros here if
required */
#else /* other compilers */
#define _MHD_DEPR_MACRO(msg)
@@ -406,6 +406,7 @@
#define MHD_HTTP_HEADER_WARNING "Warning"
#define MHD_HTTP_HEADER_WWW_AUTHENTICATE "WWW-Authenticate"
#define MHD_HTTP_HEADER_ACCESS_CONTROL_ALLOW_ORIGIN
"Access-Control-Allow-Origin"
+#define MHD_HTTP_HEADER_CONTENT_DISPOSITION "Content-Disposition"
/** @} */ /* end of group headers */
@@ -2121,7 +2122,7 @@
int fd,
off_t offset);
-/* Substitute MHD_create_response_from_fd_at_offset64() instead of
MHD_create_response_from_fd_at_offset()
+/* Substitute MHD_create_response_from_fd_at_offset64() instead of
MHD_create_response_from_fd_at_offset()
to minimize possible problems with different off_t options */
#define MHD_create_response_from_fd_at_offset(size,fd,offset) \
_MHD_DEPR_MACRO("Usage of MHD_create_response_from_fd_at_offset() is
deprecated, use MHD_create_response_from_fd_at_offset64()") \
@@ -2750,7 +2751,7 @@
/**
* Get whether reading files beyond 2 GiB boundary is supported.
- * If supported then #MHD_create_response_from_fd(),
+ * If supported then #MHD_create_response_from_fd(),
* #MHD_create_response_from_fd64 #MHD_create_response_from_fd_at_offset()
* and #MHD_create_response_from_fd_at_offset64() can be used with sizes and
* offsets larger than 2 GiB. If not supported value of size+offset is
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [GNUnet-SVN] r35998 - libmicrohttpd/src/include,
gnunet <=