(value string)
| 41 | } |
| 42 | |
| 43 | func (h HeaderValue) modifyHeader(value string) { |
| 44 | if h.append { |
| 45 | h.header[h.key] = append(h.header[h.key], value) |
| 46 | } else { |
| 47 | h.header[h.key] = append(h.header[h.key][:0], value) |
| 48 | } |
| 49 | } |
| 50 | |
| 51 | // String encodes the value v as the header string value |
| 52 | func (h HeaderValue) String(v string) { |
no outgoing calls
no test coverage detected