1
0
mirror of https://github.com/aclindsa/ofxgo.git synced 2025-07-02 03:58:38 -04:00

cmd/ofx: Allow setting User-Agent header from command-line

This commit is contained in:
2021-03-16 15:24:36 -04:00
parent 2641443ebe
commit e76c697cad
2 changed files with 3 additions and 0 deletions

View File

@ -19,6 +19,7 @@ func newRequest() (ofxgo.Client, *ofxgo.Request) {
SpecVersion: ver,
NoIndent: noIndentRequests,
CarriageReturn: carriageReturn,
UserAgent: userAgent,
})
var query ofxgo.Request