aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEvgeny Grin (Karlson2k) <k2k@narod.ru>2019-06-09 13:02:28 +0300
committerEvgeny Grin (Karlson2k) <k2k@narod.ru>2019-06-09 13:02:28 +0300
commitca0e18ba612080956726c072ec28829862e159e4 (patch)
treeb330f6acde502a9bacf3887b5fc000da65b7ff5b
parentfb550a49390c4dc0ae995d101a72f17162c37792 (diff)
downloadlibmicrohttpd-ca0e18ba612080956726c072ec28829862e159e4.tar.gz
libmicrohttpd-ca0e18ba612080956726c072ec28829862e159e4.zip
tests: fixed, removed deprecated HTTP code
-rw-r--r--src/microhttpd/test_http_reasons.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/microhttpd/test_http_reasons.c b/src/microhttpd/test_http_reasons.c
index a4dab63a..62721439 100644
--- a/src/microhttpd/test_http_reasons.c
+++ b/src/microhttpd/test_http_reasons.c
@@ -99,7 +99,6 @@ static int test_4xx(void)
99 errcount += expect_result(MHD_HTTP_EXPECTATION_FAILED, "expectation failed"); 99 errcount += expect_result(MHD_HTTP_EXPECTATION_FAILED, "expectation failed");
100 errcount += expect_result(MHD_HTTP_REQUEST_HEADER_FIELDS_TOO_LARGE, "request header fields too large"); 100 errcount += expect_result(MHD_HTTP_REQUEST_HEADER_FIELDS_TOO_LARGE, "request header fields too large");
101 errcount += expect_absent(441); 101 errcount += expect_absent(441);
102 errcount += expect_result(MHD_HTTP_NO_RESPONSE, "no response");
103 errcount += expect_result(MHD_HTTP_UNAVAILABLE_FOR_LEGAL_REASONS, "unavailable for legal reasons"); 102 errcount += expect_result(MHD_HTTP_UNAVAILABLE_FOR_LEGAL_REASONS, "unavailable for legal reasons");
104 errcount += expect_absent(470); 103 errcount += expect_absent(470);
105 errcount += expect_absent(493); 104 errcount += expect_absent(493);