SetContentEncodingBytes sets Content-Encoding header value.
(contentEncoding []byte)
| 367 | |
| 368 | // SetContentEncodingBytes sets Content-Encoding header value. |
| 369 | func (h *RequestHeader) SetContentEncodingBytes(contentEncoding []byte) { |
| 370 | h.bufV = initHeaderValueBytes(h.bufV, contentEncoding) |
| 371 | h.setNonSpecial(strContentEncoding, h.bufV) |
| 372 | } |
| 373 | |
| 374 | // SetMultipartFormBoundary sets the following Content-Type: |
| 375 | // 'multipart/form-data; boundary=...' |
no test coverage detected