From 11cecce11401a0c8990279406de3894c036c73a7 Mon Sep 17 00:00:00 2001 From: Valentin Bartenev Date: Tue, 3 Jul 2018 15:18:16 +0300 Subject: HTTP parser: relaxed checking of fields values. Allowing characters up to 0xFF doesn't conflict with RFC 7230. Particularly, this make it possible to pass unencoded UTF-8 data through HTTP headers, which can be useful. --- src/test/nxt_http_parse_test.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/test') diff --git a/src/test/nxt_http_parse_test.c b/src/test/nxt_http_parse_test.c index a23f27c3..572e91b2 100644 --- a/src/test/nxt_http_parse_test.c +++ b/src/test/nxt_http_parse_test.c @@ -301,7 +301,7 @@ static nxt_http_parse_test_case_t nxt_http_test_cases[] = { { nxt_string("GET / HTTP/1.1\r\n" "Host: пример.испытание\r\n\r\n"), - NXT_HTTP_PARSE_INVALID, + NXT_DONE, NULL, { NULL } }, { -- cgit