Files
sm1.13-ripext/nghttp2/doc/nghttp2_check_authority.rst
jenz 08c03ac533
CI / Build (clang, clang++, ubuntu-22.04, linux, 3.10, master, x86,x86_64) (push) Canceled after 0s
CI / Build (clang, clang++, windows-2022, windows, 3.10, master, x86,x86_64) (push) Canceled after 0s
CI / Release (push) Canceled after 0s
first commit
2026-09-13 22:18:11 +01:00

20 lines
527 B
ReStructuredText

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