python-redmine
python-redmine copied to clipboard
Fix key= auth: Include headers set by BaseEngine() in requests
BaseEngine.construct_request_kwargs() fails to preserve existing headers set in self.requests by BaseEngine.__init__. Merge the new headers with the existing engine headers. (This was noticed with 'key' for API access via key.)
Fixes: https://github.com/maxtepkeev/python-redmine/issues/353