Skip to content

Commit 1e6e504

Browse files
committed
debugging
1 parent a91aad7 commit 1e6e504

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

response/success.go

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,8 @@ func HandleAPISuccessResponse(resp *http.Response, out interface{}, sugar *zap.S
4646
mimeType, _ := parseHeader(resp.Header.Get("Content-Type"))
4747
contentDisposition := resp.Header.Get("Content-Disposition")
4848

49-
sugar.Debugf("MIMETYPE-%s", mimeType)
49+
sugar.Debugf("MIMETYPE: %s", mimeType)
50+
sugar.Debugf("NORMAL-HEADER: %s", resp.Header.Get("Content-Type"))
5051

5152
var handler contentHandler
5253
var ok bool

0 commit comments

Comments
 (0)