header.go
func (h *RequestHeader) HasAcceptEncoding(acceptEncoding string) bool {
	h.bufKV.value = append(h.bufKV.value[:0], acceptEncoding...)
	return h.HasAcceptEncodingBytes(h.bufKV.value)
}
func (h *RequestHeader) HasAcceptEncoding(acceptEncoding string) bool {
	h.bufKV.value = append(h.bufKV.value[:0], acceptEncoding...)
	return h.HasAcceptEncodingBytes(h.bufKV.value)
}
func ( h * RequestHeader ) HasAcceptEncoding ( acceptEncoding string ) bool { h . bufKV . value = append ( h . bufKV . value [ : 0 ] , acceptEncoding ... ) return h . HasAcceptEncodingBytes ( h . bufKV . value ) }
// HasAcceptEncoding returns true if the header contains
// the given Accept-Encoding value.
HasAcceptEncoding returns true if the header contains the given Accept - Encoding value .