support 308

This commit is contained in:
Christian Grothoff
2016-07-08 13:59:36 +00:00
parent ec79f5e0db
commit 0bfe068c10
3 changed files with 6 additions and 1 deletions
+3
View File
@@ -1,3 +1,6 @@
Fri Jul 8 15:57:06 CEST 2016
Adding support for 308 status code. -CG
Sat Jun 25 13:49:31 CEST 2016
Use shutdown to trigger select on NetBSD. -EG
+1
View File
@@ -323,6 +323,7 @@ _MHD_DEPR_MACRO("Macro MHD_LONG_LONG_PRINTF is deprecated, use MHD_UNSIGNED_LONG
#define MHD_HTTP_USE_PROXY 305
#define MHD_HTTP_SWITCH_PROXY 306
#define MHD_HTTP_TEMPORARY_REDIRECT 307
#define MHD_HTTP_PERMANENT_REDIRECT 308
#define MHD_HTTP_BAD_REQUEST 400
#define MHD_HTTP_UNAUTHORIZED 401
+2 -1
View File
@@ -57,7 +57,8 @@ static const char *const three_hundred[] = {
"Not Modified",
"Use Proxy",
"Switch Proxy",
"Temporary Redirect"
"Temporary Redirect",
"Permanent Redirect"
};
static const char *const four_hundred[] = {