Skip to content

Add options to send additional headers#13

Open
RafaelGruhn wants to merge 2 commits intoRedMadRobot:masterfrom
RafaelGruhn:patch-1
Open

Add options to send additional headers#13
RafaelGruhn wants to merge 2 commits intoRedMadRobot:masterfrom
RafaelGruhn:patch-1

Conversation

@RafaelGruhn
Copy link

Jira can be internal and, for example, needs an additional header for the connection to be established, "jira-ruby" already provides for this, but in this lib it is not being used

Jira can be internal and, for example, needs an additional header for the connection to be established, "jira-ruby" already provides for this, but in this lib it is not being used
@Alexander-Ignition Alexander-Ignition self-assigned this Mar 26, 2022
@Alexander-Ignition Alexander-Ignition added the enhancement New feature or request label Mar 26, 2022
username: params[:username],
password: params[:password],
site: params[:url],
default_headers: params[:headers],
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is this for a possible token setup?

{ 'Authorization' =>  "Bearer #{api_token}"}

@Alexander-Ignition
Copy link
Collaborator

Hi @RafaelGruhn, thanks for the improvement 👍

Will you have time to make tests for a new field by analogy with those that already exist ?

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

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants