commit | 39c80ebff0941ee277ce9f085a1a2fad37b8bc36 | [log] [tgz] |
---|---|---|
author | Willy Tarreau <w@1wt.eu> | Mon Dec 10 18:24:19 2018 +0100 |
committer | Willy Tarreau <w@1wt.eu> | Tue Dec 11 09:07:02 2018 +0100 |
tree | f374816203761ef553b31256cd7acf4ef9ada91d | |
parent | aafdf583338b0461eb4768916a4bd897f891238c [diff] |
MINOR: hpack: provide a function to encode an HTTP method The new function hpack_encode_method() supports encoding a method. It knows about GET and POST which use a single byte, and falls back to literal encoding for other ones.