From c6aadb1301531378e94ba3144994c0a18e173d0b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=BC=93=E7=9F=A2?= Date: Thu, 10 May 2018 13:47:05 +0800 Subject: [PATCH] Overlap content-type --- client.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/client.go b/client.go index 8cf55a8..20e2a19 100644 --- a/client.go +++ b/client.go @@ -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()