SetContentTypeBytes sets Content-Type header value.
(contentType []byte)
| 302 | |
| 303 | // SetContentTypeBytes sets Content-Type header value. |
| 304 | func (h *header) SetContentTypeBytes(contentType []byte) { |
| 305 | h.contentType = initHeaderValueBytes(h.contentType, contentType) |
| 306 | } |
| 307 | |
| 308 | // ContentEncoding returns Content-Encoding header value. |
| 309 | func (h *ResponseHeader) ContentEncoding() []byte { |