ing
This commit is contained in:
parent
5378338700
commit
6d52a0d7c6
|
@ -36,7 +36,7 @@ func NewConnector(containerType occp.ContainerType, portNumber int) (*csswc.Conn
|
|||
connector.RequestHeader = func() http.Header {
|
||||
header := make(map[string][]string)
|
||||
header[occc.HTTPRequestHeaderKey_Container_Method] = []string{occc.HTTPRequestHeaderValue_Container_Method_Connect}
|
||||
header[occp.HTTPRequestHeaderKey_Container_Type] = []string{containerType.String()}
|
||||
header[occc.HTTPRequestHeaderKey_Container_Type] = []string{containerType.String()}
|
||||
return header
|
||||
}
|
||||
connector.ResponseHandler = func(res *http.Response) {
|
||||
|
|
Loading…
Reference in New Issue
Block a user