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
#13493
10.3.9
Previously a HEAD request used to respond with status 200. Now it responds with a 404.
200
404
repoduction repo
curl -I http://localhost:3000
Status 200 if the endpoint exists
The new Fastify route(...) supports an array of HTTP methods. The simplest solution might be to just inject routes with method: [method, 'HEAD']
route(...)
method: [method, 'HEAD']
The text was updated successfully, but these errors were encountered:
This is currently breaking all our UptimeRobot monitors (since they use HEAD to check for a 200).
😬
Sorry, something went wrong.
Let's track this here #14017
No branches or pull requests
Did you read the migration guide?
Is there an existing issue that is already proposing this?
Potential Commit/PR that introduced the regression
#13493
NestJS version
10.3.9
Describe the regression
Previously a HEAD request used to respond with status
200
. Now it responds with a404
.Minimum reproduction code
repoduction repo
Input code
Expected behavior
Status 200 if the endpoint exists
Other
The new Fastify
route(...)
supports an array of HTTP methods. The simplest solution might be to just inject routes withmethod: [method, 'HEAD']
The text was updated successfully, but these errors were encountered: