-
-
Notifications
You must be signed in to change notification settings - Fork 24
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
Return 404 HTTP status on not-found docs pages #317
Comments
I don't think this is solvable with the S3 bucket redirection rules - we would need to be able to say that the rules we have don't apply to I'll check if this is doable with a lambda function - and if its cost fits within our AWS budget. |
I think we can replace the patchwork of S3 rules for only one rule redirecting
That way, visiting This only works on browsers with JavaScript enabled. Other user agents will miss the What do you think? |
I'm strongly opposed to use client-side JavaScript to overpaint technical limitations of the web server. |
Due to the redirect rules we have in place to default API Docs to the latest released version (see #312 for some context), we never send a 404 HTTP status to clients when they request non existent pages in the
/api/
path.We should improve the routes handling so we eventually respond with 404 Not found HTTP Status (even if that's after some redirects).
The text was updated successfully, but these errors were encountered: