Skip to content

Commit 655549a

Browse files
committed
OFXClient.http_headers - correct typo "Content-type" -> "Content-Type"
1 parent 0c4e5e3 commit 655549a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ofxtools/Client.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -317,7 +317,7 @@ def http_headers(self) -> Dict[str, str]:
317317
# which apparently displeases some FIs
318318
return {
319319
"User-Agent": self.useragent,
320-
"Content-type": mimetype,
320+
"Content-Type": mimetype,
321321
# Apparently Amex is unhappy unless it sees a MIME type of application/xml
322322
# with some quality rating - ANY quality rating, it seems.
323323
"Accept": "*/*, {}, application/xml;q=0.9".format(mimetype),

0 commit comments

Comments
 (0)