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
When a response has 301/302 status code, the inject should follow the redirects
Ref fastify/help#664
const response = await app.inject({ url: '/asd', method: 'GET', followRedirect: true // default max 1 redirect // OR followRedirect: 10 // follow max 10 redirect });
The text was updated successfully, but these errors were encountered:
I think this could be a plugin.
Sorry, something went wrong.
No branches or pull requests
Prerequisites
🚀 Feature Proposal
When a response has 301/302 status code, the inject should follow the redirects
Motivation
Ref fastify/help#664
Example
The text was updated successfully, but these errors were encountered: