nghttp3_check_header_name
Synopsis
#include <nghttp3/nghttp3.h>
-
int nghttp3_check_header_name(const uint8_t *name, size_t len)
nghttp3_check_header_name()
returns nonzero if HTTP field name name of length len is valid according to RFC 7230 Section 3.2.Because this is an HTTP field name in HTTP/3, the upper cased alphabet is treated as error.