Skip to content

Commit 6d591db

Browse files
committed
Fix format mistake
1 parent 68abea5 commit 6d591db

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

modules/httplib/httplib.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -166,7 +166,7 @@ func (r *Request) Header(key, value string) *Request {
166166

167167
// HeaderWithSensitiveCase add header item string in request and keep the case of the header key.
168168
func (r *Request) HeaderWithSensitiveCase(key, value string) *Request {
169-
r.req.Header[key]=value
169+
r.req.Header[key] = []string{value}
170170
return r
171171
}
172172

0 commit comments

Comments
 (0)