basalt-rs / basalt-rs/basalt-server

Return a nice looking 404 page for browsers

Open
#24 0 comments 0 reactions 0 assignees View on GitHub
enhancement good first issue
Dominant language
Rust
Stars
3
Forks
0
PR merge metrics
No merged PRs in 30d

Description

When a client tries to access a route that is not supported, i.e., `/`, and they're accepting html, show a nice-ish 404 page. (accepting html means it's probably a browser and the host forgot to setup the web client)

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by locating the route-handling entry point for unsupported routes, especially `/`, and trace how the request's accepted content type is handled. Done means a browser-like request accepting HTML receives a nice 404 page for `/`, while the response remains appropriate for other clients.

Written by the indexing model from the issue text.

Assessment

Tech stack
rust
Domain
backend
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.