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

Respond to handled errors using the accepted content-type (i.e. in RSS) #678

Open
3 tasks
gildesmarais opened this issue Aug 21, 2024 · 0 comments
Open
3 tasks
Labels
enhancement New feature or request

Comments

@gildesmarais
Copy link
Member

gildesmarais commented Aug 21, 2024

Goal: Respond to handled errors using in the accepted content-type (i.e. in RSS).

Example Scenario: when an invalid feed is requested return a 404 rendering a response body using RSS/XML.

Implementation idea:
hook into error handler, or investigate the use of https://roda.jeremyevans.net/rdoc/classes/Roda/RodaPlugins/TypeRouting.html

  • the response should contain helpful information, but not reveal 'internals'
  • The channel language must be changed to English
  • if html2rss-config: provide description containing link to edit the config on Github
@github-project-automation github-project-automation bot moved this to Upcoming deliveries in h2r work organization Aug 21, 2024
@gildesmarais gildesmarais added the enhancement New feature or request label Aug 21, 2024
@gildesmarais gildesmarais changed the title Respond to handled errors using in the accepted content-type (i.e. in RSS) Respond to handled errors using the accepted content-type (i.e. in RSS) Aug 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
Status: Upcoming deliveries
Development

No branches or pull requests

1 participant