Skip to content

Commit 73cfd8c

Browse files
committed
req-docs
1 parent a4aa39c commit 73cfd8c

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

lib/ex_aws/request/req.ex

+3-1
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,8 @@ defmodule ExAws.Request.Req do
44
@moduledoc """
55
Configuration for `m:Req`.
66
7+
The minimum recommended `req` version is `0.4.0`.
8+
79
Options can be set for `m:Req` with the following config:
810
911
config :ex_aws, :req_opts,
@@ -31,7 +33,7 @@ defmodule ExAws.Request.Req do
3133
end
3234
end
3335

34-
# Req uses :follow_redirects, but some clients pass the :hackney option
36+
# Req >= 0.4.0 uses :redirect, but some clients pass the :hackney option
3537
# :follow_redirect. Rename the option for Req to use.
3638
defp rename_follow_redirect(opts) do
3739
{follow, opts} = Keyword.pop(opts, :follow_redirect, false)

mix.exs

+1-1
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ defmodule ExAws.Mixfile do
4545
{:dialyxir, "~> 1.0", only: [:dev, :test], runtime: false},
4646
{:ex_doc, "~> 0.16", only: [:dev, :test]},
4747
{:hackney, "~> 1.16", optional: true},
48-
{:req, "~> 0.3", optional: true},
48+
{:req, "~> 0.4", optional: true},
4949
{:jason, "~> 1.1", optional: true},
5050
{:jsx, "~> 2.8 or ~> 3.0", optional: true},
5151
{:mox, "~> 1.0", only: :test},

0 commit comments

Comments
 (0)