libmicrohttpd

HTTP/1.x server C library (MHD 1.x, stable)
Log | Files | Refs | Submodules | README | LICENSE

commit deb0b94b538a60f341d0f532c782549e7d4de808
parent 909af47012fe33f9e5c566f2ab303fa82163d57e
Author: Christian Grothoff <christian@grothoff.org>
Date:   Sun, 24 Aug 2008 18:48:08 +0000

reason

Diffstat:
MChangeLog | 3+++
Msrc/daemon/reason_phrase.c | 24++++++++++++++++++++----
2 files changed, 23 insertions(+), 4 deletions(-)

diff --git a/ChangeLog b/ChangeLog @@ -1,3 +1,6 @@ +Sun Aug 24 12:44:43 MDT 2008 + Added missing reason phrase. -SG + Sun Aug 24 10:33:22 MDT 2008 Fixed bug where MHD failed to transmit the response when the client decided not to send "100 CONTINUE" during diff --git a/src/daemon/reason_phrase.c b/src/daemon/reason_phrase.c @@ -43,7 +43,8 @@ static const char *two_hundred[] = { "Non-Authoritative Information", "No Content", "Reset Content", - "Partial Content" + "Partial Content", + "Multi Status" }; static const char *three_hundred[] = { @@ -52,7 +53,9 @@ static const char *three_hundred[] = { "Moved Temporarily", "See Other", "Not Modified", - "Use Proxy" + "Use Proxy", + "Switch Proxy", + "Temporary Redirect" }; static const char *four_hundred[] = { @@ -71,15 +74,28 @@ static const char *four_hundred[] = { "Precondition Failed", "Request Entity Too Large", "Request-URI Too Large", - "Unsupported Media Type" + "Unsupported Media Type", + "Requested Range Not Satisfiable", + "Expectation Failed", + "Unprocessable Entity", + "Locked", + "Failed Dependency", + "Unordered Collection", + "Upgrade Required", + "Retry With" }; static const char *five_hundred[] = { "Internal Server Error", + "Not Implemented", "Bad Gateway", "Service Unavailable", "Gateway Time-out", - "HTTP Version not supported" + "HTTP Version not supported", + "Variant Also Negotiates", + "Insufficient Storage", + "Bandwidth Limit Exceeded", + "Not Extended" };