mirror of
https://github.com/SAP/jenkins-library.git
synced 2024-12-12 10:55:20 +02:00
set User-Agent Header (#2797)
This commit is contained in:
parent
d766f6befe
commit
9ac29fd8e6
@ -119,6 +119,7 @@ func (conn *Connector) InitAAKaaS(aAKaaSEndpoint string, username string, passwo
|
||||
conn.Header = make(map[string][]string)
|
||||
conn.Header["Accept"] = []string{"application/json"}
|
||||
conn.Header["Content-Type"] = []string{"application/json"}
|
||||
conn.Header["User-Agent"] = []string{"Piper-abapAddonAssemblyKit/1.0"}
|
||||
|
||||
cookieJar, _ := cookiejar.New(nil)
|
||||
conn.Client.SetOptions(piperhttp.ClientOptions{
|
||||
|
Loading…
Reference in New Issue
Block a user