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

Fix Req :follow_redirects deprecation warning #1097

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

paytonward6
Copy link

Fixes the below deprecation warnings from Req:

warning: :follow_redirects option has been renamed to :redirect
  (req 0.5.7) lib/req/steps.ex:1794: Req.Steps.redirect/1
  (req 0.5.7) lib/req/request.ex:1120: anonymous fn/2 in Req.Request.run_response/2
  (elixir 1.17.3) lib/enum.ex:4858: Enumerable.List.reduce/3
  (elixir 1.17.3) lib/enum.ex:2585: Enum.reduce_while/3
  (req 0.5.7) lib/req/request.ex:1047: Req.Request.run/1
  (ex_aws 2.5.7) lib/ex_aws/request/req.ex:24: ExAws.Request.Req.request/5

:follow_redirects has been deprecated since v0.4.0 per https://hexdocs.pm/req/changelog.html#v0-4-0-2023-09-01

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.

1 participant