Skip to content

authenticating with API key is broken; request overwrites X-Redmine-Api-Key header from BaseEngine.__init__ #353

Description

@dmick

The fairly-new construct_request_kwargs() takes a param "headers" which it uses exclusively to create the request headers; however, if the engine object was instantiated with 'key', the key is stored in self.requests['headers'] already, and should be merged in construct_request_kwargs(), not overwritten

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions