commit | 820b3912609aa24a4520caa53a750782627e1ada | [log] [tgz] |
---|---|---|
author | Willy Tarreau <w@1wt.eu> | Mon Dec 10 19:16:20 2018 +0100 |
committer | Willy Tarreau <w@1wt.eu> | Tue Dec 11 09:07:02 2018 +0100 |
tree | dcea31055c9682da063f1d1b3f8d290edbb3ec18 | |
parent | bdabc3a25ff59277dd035fb7288725f6c7597fdc [diff] |
MINOR: hpack: provide a function to encode an HTTP scheme The new function hpack_encode_scheme() supports encoding a scheme into the ":scheme" header. It knows about "https" and "http" which use a single byte, and falls back to literal encoding for other ones.