HTML error pages #22

Open
opened 2023-11-16 18:28:15 +01:00 by Jef Roosens · 0 comments

The server currently always responds with empty bodies when it returns errors. This is okay for CLI tools, but for users clicking on links, this might not be very clear. Therefore, I'd like to add some basic error pages. This could go hand-in-hand with #12.

To determine when to return HTML, we can look at the Accept header.

The server currently always responds with empty bodies when it returns errors. This is okay for CLI tools, but for users clicking on links, this might not be very clear. Therefore, I'd like to add some basic error pages. This could go hand-in-hand with #12. To determine when to return HTML, we can look at the `Accept` header.
Jef Roosens added the
Kind/Feature
label 2023-11-16 18:28:15 +01:00
Jef Roosens changed title from Browser-specific error pages to HTML error pages 2023-11-16 18:37:11 +01:00
Jef Roosens added the
Project/Lander
label 2024-08-26 10:42:18 +02:00
Sign in to join this conversation.
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: Chewing_Bever/lander#22
There is no content yet.