From de3dc89691c117532266d0636c5717e56277383a Mon Sep 17 00:00:00 2001 From: aozhiwei Date: Thu, 20 Jun 2024 17:09:30 +0800 Subject: [PATCH] 1 --- httpcli.go | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/httpcli.go b/httpcli.go index ff8e88f..fa9c00d 100644 --- a/httpcli.go +++ b/httpcli.go @@ -13,6 +13,10 @@ const ( HTTP_OPT_SET_PROXY = iota ) +const ( + HTTP_HEADER_JSON = "application/json" +) + func internalSetOpt(client *http.Client, request *http.Request, opt int32, key string, val string) { switch opt {