Skip to content

Commit

Permalink
Fix format mistake
Browse files Browse the repository at this point in the history
  • Loading branch information
sapk committed Jan 29, 2018
1 parent 68abea5 commit 6d591db
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules/httplib/httplib.go
Original file line number Diff line number Diff line change
Expand Up @@ -166,7 +166,7 @@ func (r *Request) Header(key, value string) *Request {

// HeaderWithSensitiveCase add header item string in request and keep the case of the header key.
func (r *Request) HeaderWithSensitiveCase(key, value string) *Request {
r.req.Header[key]=value
r.req.Header[key] = []string{value}
return r
}

Expand Down

0 comments on commit 6d591db

Please sign in to comment.