Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Delegating handler for Http redirects #2814

Merged
merged 2 commits into from
Aug 31, 2023

Conversation

paveliak
Copy link
Contributor

This PR adds a delegating handler that performs redirection of Http requests if Actions service responds with one of 30x codes.

There is a safety switch disabling redirection handlers (controlled by the GITHUB_ACTIONS_RUNNER_NO_HTTP_REDIRECTS environment variable). It does not however control server behavior and if this environment is set and server responds with a redirect then job most likely will fail.

@paveliak paveliak requested a review from a team as a code owner August 31, 2023 00:16
@TingluoHuang TingluoHuang merged commit 2b66cbe into actions:main Aug 31, 2023
10 checks passed
AdamOlech pushed a commit to antmicro/runner that referenced this pull request Sep 14, 2023
* Delegating handler for Http redirects

* Renamed varible name
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants