File: nghttp2_check_method.rst

package info (click to toggle)
nghttp2 1.68.0-1
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 15,592 kB
  • sloc: ansic: 104,233; cpp: 55,792; ruby: 30,108; yacc: 7,083; sh: 4,643; makefile: 1,506; python: 806
file content (16 lines) | stat: -rw-r--r-- 425 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16

nghttp2_check_method
====================

Synopsis
--------

*#include <nghttp2/nghttp2.h>*

.. function:: int nghttp2_check_method(const uint8_t *value, size_t len)

    
    Returns nonzero if the *value* which is supposed to be the value of
    the :method header field is valid according to
    https://datatracker.ietf.org/doc/html/rfc7231#section-4 and
    https://datatracker.ietf.org/doc/html/rfc7230#section-3.2.6