1
0
mirror of https://github.com/aclindsa/ofxgo.git synced 2025-07-01 19:58:37 -04:00

Add Hack for Discover

Discover requires an exact set of headers in exact order, or it returns
HTTP 403.
This commit is contained in:
2018-10-03 10:18:11 -04:00
parent 77b154695f
commit 22a6d65b98
2 changed files with 104 additions and 0 deletions

View File

@ -63,6 +63,7 @@ func GetClient(URL string, bc *BasicClient) Client {
URL string
Func clientCreationFunc
}{
{"https://ofx.discovercard.com", NewDiscoverCardClient},
{"https://vesnc.vanguard.com/us/OfxDirectConnectServlet", NewVanguardClient},
}
for _, client := range clients {