WIP: Use new HEADERS.location feature #105

Draft
stb wants to merge 3 commits from redirect-header into main
Owner

Check the actual redirect, and not the contents of the redirected-to site.

Requires release of Gatus that includes https://github.com/TwiN/gatus/pull/1696

Closes #104.

Check the actual redirect, and not the contents of the redirected-to site. Requires release of Gatus that includes https://github.com/TwiN/gatus/pull/1696 Closes #104.
Use new HEADERS.location feature
Some checks failed
/ Ansible Lint (push) Successful in 3m13s
/ build (pull_request) Failing after 2m41s
/ Ansible Lint (pull_request) Successful in 2m53s
eb6bde9445
Check the actual redirect, and not the contents of the redirected-to site.
Make check more resilient
Some checks failed
/ Ansible Lint (push) Has been cancelled
/ build (pull_request) Has been cancelled
/ Ansible Lint (pull_request) Has been cancelled
2d569848a7
Some redirects have a trailing slash, some dont. Both are legal.

This pattern will also catch "deep" redirects correctly.
Missed one
Some checks failed
/ Ansible Lint (pull_request) Successful in 2m29s
/ Ansible Lint (push) Successful in 2m33s
/ build (pull_request) Failing after 2m41s
dcf07b1ebb
stb changed title from Use new HEADERS.location feature to WIP: Use new HEADERS.location feature 2026-06-19 18:38:23 +02:00
Some checks failed
/ Ansible Lint (pull_request) Successful in 2m29s
/ Ansible Lint (push) Successful in 2m33s
/ build (pull_request) Failing after 2m41s
This pull request is marked as a work in progress.
View command line instructions

Checkout

From your project repository, check out a new branch and test the changes.
git fetch -u origin redirect-header:redirect-header
git switch redirect-header

Merge

Merge the changes and update on Forgejo.

Warning: The "Autodetect manual merge" setting is not enabled for this repository, you will have to mark this pull request as manually merged afterwards.

git switch main
git merge --no-ff redirect-header
git switch redirect-header
git rebase main
git switch main
git merge --ff-only redirect-header
git switch redirect-header
git rebase main
git switch main
git merge --no-ff redirect-header
git switch main
git merge --squash redirect-header
git switch main
git merge --ff-only redirect-header
git switch main
git merge redirect-header
git push origin main
Sign in to join this conversation.
No reviewers
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
CCCHH/ansible-infra!105
No description provided.