Browse Source

fix bug for Accept-Encoding

jxyowen 7 năm trước cách đây
mục cha
commit
e355ae1dd9
1 tập tin đã thay đổi với 1 bổ sung0 xóa
  1. 1 0
      sdk/requests/acs_reqeust.go

+ 1 - 0
sdk/requests/acs_reqeust.go

@@ -226,6 +226,7 @@ func defaultBaseRequest() (request *baseRequest) {
 		Headers: map[string]string{
 			"x-sdk-client":      "golang/1.0.0",
 			"x-sdk-invoke-type": "normal",
+			"Accept-Encoding": "identity",
 		},
 		FormParams: make(map[string]string),
 	}