oauth-pythonclient
oauth-pythonclient copied to clipboard
Don't persist headers across requests
Don't persist headers across requests.
If you send a POST request followed by a GET request, then headers provided by the POST request such as e.g. 'Content-Type': 'application/x-www-form-urlencoded' will be sent also with the GET request, where they are unexpected and will cause 415 errors from QuickBooks Online API.