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

Feature/composable checkredirect #88

Merged
merged 4 commits into from
Jul 17, 2024
Merged

Conversation

johnabass
Copy link
Collaborator

Here's some infrastructure for setting custom CheckRedirect functions in clients. In addition to composability, it permits an allow list for headers to copy via CopyHeadersOnRedirect which is far safer than just blindly copying all headers.

@johnabass johnabass requested review from schmidtw and denopink July 16, 2024 20:51
Copy link

codecov bot commented Jul 16, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 100.00%. Comparing base (1b4539b) to head (e5ccff9).

Additional details and impacted files
@@            Coverage Diff            @@
##              main       #88   +/-   ##
=========================================
  Coverage   100.00%   100.00%           
=========================================
  Files           28        29    +1     
  Lines         1128      1166   +38     
=========================================
+ Hits          1128      1166   +38     
Flag Coverage Δ
unittests 100.00% <100.00%> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Copy link
Contributor

@denopink denopink left a comment

Choose a reason for hiding this comment

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

lgtm!

@johnabass johnabass merged commit b56c5cc into main Jul 17, 2024
19 of 20 checks passed
@johnabass johnabass deleted the feature/composable-checkredirect branch July 17, 2024 23:24
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