SetContentEncodingBytes sets Content-Encoding header value.
(contentEncoding []byte)
| 317 | |
| 318 | // SetContentEncodingBytes sets Content-Encoding header value. |
| 319 | func (h *ResponseHeader) SetContentEncodingBytes(contentEncoding []byte) { |
| 320 | h.contentEncoding = initHeaderValueBytes(h.contentEncoding, contentEncoding) |
| 321 | } |
| 322 | |
| 323 | // addVaryBytes add value to the 'Vary' header if it's not included. |
| 324 | func (h *ResponseHeader) addVaryBytes(value []byte) { |
no test coverage detected