do not set custom user agent for IMF exchange rate data source

This commit is contained in:
MaysWind
2025-02-21 00:17:15 +08:00
parent 96cb45dd45
commit bd2a672c12
2 changed files with 8 additions and 1 deletions
@@ -80,6 +80,8 @@ func (e *InternationalMonetaryFundDataSource) BuildRequests() ([]*http.Request,
return nil, err
}
req.Header.Set("User-Agent", "") // Do not set custom user agent
return []*http.Request{req}, nil
}