always showing http2 in json structure

This commit is contained in:
Mzack9999 2020-08-30 17:47:38 +02:00
parent 0c9d679acc
commit 6dc35b22b5

View File

@ -495,7 +495,7 @@ type Result struct {
ContentType string `json:"content-type,omitempty"`
TlsData *httpx.TlsData `json:"tls,omitempty"`
CspData *httpx.CspData `json:"csp,omitempty"`
HTTP2 bool `json:"http2,omitempty"`
HTTP2 bool `json:"http2"`
}
// JSON the result