Do all the things like ++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatarSign Up
For the record... I almost certainly put the code in using that status. So yeah it's all my fault.
100110111145218d@N00bPancakes I think we also have 418 as a possible response status in the public api of the product I work on in production... It was supposed to be there only until my senior told me what status code should actually be returned, cause no 4xx just didn't seem right there. Don't think it ever got updated...
hjk101249117dI have this in production code aswell. It's the status on an unspecified error. Everything that can go wrong gives an specific error and status though so it should never be reached. It still gives a JSON response with the unspecified error message.
Still would not implement it in customer/partner facing code though.