We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Put request headers and body in opts. Not sure if this will work, needs to be tested.
defmodule Tesla.Middleware.KeepRequest do def call(env, next, _opts) do env |> Tesla.put_opt(:req_body, env.body) |> Tesla.put_opt(:req_headers, env.header) |> Tesla.run(next) end end
The text was updated successfully, but these errors were encountered:
KeepRequest middleware #156
6f09697
No branches or pull requests
Put request headers and body in opts.
Not sure if this will work, needs to be tested.
The text was updated successfully, but these errors were encountered: