Skip to content
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

non-default formats cause 500 errors #1317

Closed
peff opened this issue Feb 25, 2019 · 1 comment
Closed

non-default formats cause 500 errors #1317

peff opened this issue Feb 25, 2019 · 1 comment

Comments

@peff
Copy link
Member

peff commented Feb 25, 2019

I noticed in the heroku logs that we generated an HTTP 500 for a request to /blog.rss. It's understandable, in that there is no RSS feed there any more. But probably we ought to be showing a 404 instead.

That one was presumably requested because it used to do something, but of course this extends to .json, etc. Is there a good way that we should be telling Rails that we don't have those other formats, and it should just generate a 404?

@dscho
Copy link
Member

dscho commented Sep 28, 2024

Since switching to a static site, this now 404s: https://git-scm.com/blog.rss

I will therefore close this ticket.

@dscho dscho closed this as completed Sep 28, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants