HTML error pages #22

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

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 changed title from Browser-specific error pages to HTML error pages 2023-11-16 18:37:11 +01:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
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
No description provided.