2 nghttp2_check_authority
3 =======================
8 *#include <nghttp2/nghttp2.h>*
10 .. function:: int nghttp2_check_authority(const uint8_t *value, size_t len)
13 Returns nonzero if the *value* which is supposed to the value of
14 :authority or host header field is valid according to
15 https://tools.ietf.org/html/rfc3986#section-3.2
17 *value* is valid if it merely consists of the allowed characters.
18 In particular, it does not check whether *value* follows the syntax