From 2f941c7fb3011eb0c1c7895edcd35e4619212b03 Mon Sep 17 00:00:00 2001 From: Tatsuhiro Tsujikawa Date: Sat, 4 Sep 2021 17:32:57 +0900 Subject: [PATCH] Update doc --- lib/includes/nghttp2/nghttp2.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lib/includes/nghttp2/nghttp2.h b/lib/includes/nghttp2/nghttp2.h index 6c267ba0..04321a65 100644 --- a/lib/includes/nghttp2/nghttp2.h +++ b/lib/includes/nghttp2/nghttp2.h @@ -4855,7 +4855,8 @@ NGHTTP2_EXTERN int nghttp2_check_method(const uint8_t *value, size_t len); * * |value| is valid if it merely consists of the allowed characters. * In particular, it does not check whether |value| follows the syntax - * of path. + * of path. The allowed characters are all characters valid by + * `nghttp2_check_header_value` minus SPC and HT. */ NGHTTP2_EXTERN int nghttp2_check_path(const uint8_t *value, size_t len);