SetContentEncoding sets Content-Encoding header value.
(contentEncoding string)
| 312 | |
| 313 | // SetContentEncoding sets Content-Encoding header value. |
| 314 | func (h *ResponseHeader) SetContentEncoding(contentEncoding string) { |
| 315 | h.contentEncoding = initHeaderValueString(h.contentEncoding, contentEncoding) |
| 316 | } |
| 317 | |
| 318 | // SetContentEncodingBytes sets Content-Encoding header value. |
| 319 | func (h *ResponseHeader) SetContentEncodingBytes(contentEncoding []byte) { |
nothing calls this directly
no test coverage detected