1
This commit is contained in:
parent
47f75d8247
commit
de3dc89691
@ -13,6 +13,10 @@ const (
|
|||||||
HTTP_OPT_SET_PROXY = iota
|
HTTP_OPT_SET_PROXY = iota
|
||||||
)
|
)
|
||||||
|
|
||||||
|
const (
|
||||||
|
HTTP_HEADER_JSON = "application/json"
|
||||||
|
)
|
||||||
|
|
||||||
func internalSetOpt(client *http.Client, request *http.Request, opt int32,
|
func internalSetOpt(client *http.Client, request *http.Request, opt int32,
|
||||||
key string, val string) {
|
key string, val string) {
|
||||||
switch opt {
|
switch opt {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user