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

Revise checking for request.env to only consider request headers #1760

Merged
merged 4 commits into from
Feb 18, 2023

Conversation

presidentbeef
Copy link
Owner

Other parts of request.env are either not really request values and it's not obvious when that is/isn't the case.

So for now, rename request_env? to request_headers? and only match calls to request.env['HTTP_...'].

@presidentbeef presidentbeef merged commit 126cad1 into main Feb 18, 2023
@presidentbeef presidentbeef deleted the avoid_warning_about_not_headers_request_env branch February 18, 2023 20:42
Repository owner locked and limited conversation to collaborators May 9, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant