Skip to content

Add an option to provide "Accept" header to client request#406

Merged
openshift-merge-robot merged 1 commit into
openshift:masterfrom
nirarg:master
Jun 9, 2021
Merged

Add an option to provide "Accept" header to client request#406
openshift-merge-robot merged 1 commit into
openshift:masterfrom
nirarg:master

Conversation

@nirarg
Copy link
Copy Markdown
Contributor

@nirarg nirarg commented Jun 7, 2021

The client.request function always use the same accept header (application/json) which in some cases can be wrong
Therefore, add an option to the caller to add the required header
Default behavior (caller doesn't provide the header) stays the same

Signed-off-by: Nir Argaman <nargaman@redhat.com>
@openshift-ci openshift-ci Bot requested review from fabianvf and willthames June 7, 2021 06:37
@fabianvf
Copy link
Copy Markdown
Member

fabianvf commented Jun 9, 2021

/lgtm

@openshift-ci openshift-ci Bot added the lgtm Indicates that a PR is ready to be merged. label Jun 9, 2021
@openshift-ci
Copy link
Copy Markdown

openshift-ci Bot commented Jun 9, 2021

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: fabianvf, nirarg

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Details Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@openshift-ci openshift-ci Bot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Jun 9, 2021
@fabianvf
Copy link
Copy Markdown
Member

fabianvf commented Jun 9, 2021

/hold

@openshift-ci openshift-ci Bot added the do-not-merge/hold Indicates that a PR should not merge because someone has issued a /hold command. label Jun 9, 2021
@openshift-merge-robot openshift-merge-robot merged commit c9ea4a4 into openshift:master Jun 9, 2021
@fabianvf
Copy link
Copy Markdown
Member

/cherrypick release-0.12

@openshift-cherrypick-robot
Copy link
Copy Markdown

@fabianvf: new pull request created: #408

Details

In response to this:

/cherrypick release-0.12

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.

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

Labels

approved Indicates a PR has been approved by an approver from all required OWNERS files. do-not-merge/hold Indicates that a PR should not merge because someone has issued a /hold command. lgtm Indicates that a PR is ready to be merged.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants