Skip to content

Commit

Permalink
Set Request Close flag to set connection: close header
Browse files Browse the repository at this point in the history
  • Loading branch information
Mauricio Lima committed Apr 16, 2015
1 parent 80a7d58 commit 3747e2a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions generator/soap.go
Original file line number Diff line number Diff line change
Expand Up @@ -90,6 +90,7 @@ func (s *SoapClient) Call(soapAction string, request, response interface{}) erro
req.Header.Add("SOAPAction", soapAction)
}
req.Header.Set("User-Agent", "gowsdl/0.1")
req.Close = true

tr := &http.Transport{
TLSClientConfig: &tls.Config{
Expand Down

0 comments on commit 3747e2a

Please sign in to comment.