mirror of
				https://github.com/aclindsa/ofxgo.git
				synced 2025-10-31 09:53:26 -04:00 
			
		
		
		
	Added Accept http header as Citi now requires it
Without this header set Citi returns http 403 for every request.
This commit is contained in:
		| @@ -75,6 +75,7 @@ func (c *BasicClient) RawRequest(URL string, r io.Reader) (*http.Response, error | ||||
| 		return nil, err | ||||
| 	} | ||||
| 	request.Header.Set("Content-Type", "application/x-ofx") | ||||
| 	request.Header.Add("Accept", "*/*, application/x-ofx") | ||||
| 	if c.UserAgent != "" { | ||||
| 		request.Header.Set("User-Agent", c.UserAgent) | ||||
| 	} | ||||
|   | ||||
		Reference in New Issue
	
	Block a user