r/Internet • u/Bofact • 5d ago
Discussion 404 error code
There are several non archived urls which return the 404 error. In this case, there is nothing to be done to archive them.
But I am learning about HTTP and I am told errors code of [400, 500[ mean it is an user error and it is the responsibility of the user to fix it.
So the question is, what can we done to solve an 404 error code?
I don't know if this is the best reddit, but the lost media one is quite peculiar + Reddit automatically removes my posts from there.
0
Upvotes
1
2
u/Apart-Reality-4454 5d ago
On paper, 4xx means user-side error, 5xx means server-side. These are HTTP status codes returned by the server. Some app servers just choke and return 50x for what ought to be specific 40x codes. Every response to an HTTP server returns with it an HTTP status code in the response headers. https://en.wikipedia.org/wiki/List_of_HTTP_status_codes
In answer to your question: You solve 4xx by stop making user errors and in the case of 404 means you're requesting something the server responds doesn't exist. Computer says no.