Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

>You can use it if you want to inform the user what exactly is going on.

That's exactly the purpose.

>The 4xx class of status code is intended for cases in which the client seems to have erred. Except when responding to a HEAD request, the server SHOULD include an entity containing an explanation of the error situation, and whether it is a temporary or permanent condition. These status codes are applicable to any request method. User agents SHOULD display any included entity to the user.

http://www.w3.org/Protocols/rfc2616/rfc2616-sec10.html



Consider applying for YC's Fall 2025 batch! Applications are open till Aug 4

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: