Skip to content

Commit

Permalink
Merge pull request gogap#4 from zd-double/fix_content-type
Browse files Browse the repository at this point in the history
Overlap content-type
  • Loading branch information
souriki authored May 14, 2018
2 parents 6b66415 + c6aadb1 commit 8d1ccbe
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion client.go
Original file line number Diff line number Diff line change
Expand Up @@ -215,7 +215,7 @@ func (p *aliMNSClient) Send(method Method, headers map[string]string, message in
req.SetBody(xmlContent)

for header, value := range headers {
req.Header.Add(header, value)
req.Header.Set(header, value)
}

resp := fasthttp.AcquireResponse()
Expand Down

0 comments on commit 8d1ccbe

Please sign in to comment.