mirror of
https://github.com/gocsaf/csaf.git
synced 2025-12-22 11:55:40 +01:00
Use a default user agent
This commit is contained in:
parent
257c316894
commit
0ab851a874
5 changed files with 19 additions and 15 deletions
|
|
@ -301,6 +301,11 @@ func (c *config) httpClient(p *provider) util.Client {
|
|||
Client: client,
|
||||
Header: c.ExtraHeader,
|
||||
}
|
||||
default:
|
||||
client = &util.HeaderClient{
|
||||
Client: client,
|
||||
Header: http.Header{},
|
||||
}
|
||||
}
|
||||
|
||||
if c.Verbose {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue