4 ms·
RFC for 7xx HTTP status
- na85 8y agoI mean I get it, but I also don't get it.
- frabert 8y agoI fail to see the humour in this, how are those HTTP responses? When would a server respond to a request with "Haskell"? Makes no sense to me, while " I'm a teapot" made perfect sense
- arnarbi 8y agoTo be honest, I have many places that should return 724.
- some_account 8y agoI think it should be reserved for ad blocker detected, together with a browser setting that pops up a message that the server is not allowing people with ad blockers. Then we could just easily ignore those sites who serve ads as a requirement, and they could go die in a fire.
- hyperman1 8y agoLook at 759 ! That's actually a real error message. https://en.wikipedia.org/wiki/Scope_resolution_operator#PHP https://en.wikipedia.org/wiki/Scope_resolution_operator#PHP What were the PHP guys smoking to consider this a usable error message?
- dozzie 8y agoI know you'd happily bash PHP author for such an incomprehensible error message, but it's not his own message, but something that comes from Yacc/Bison, when the next parsed token is not what can legally follow whatever the parser read up until now. It's just the tokens (or maybe just this one; I haven't read the grammar) were not named in currently canonical English.
- hyperman1 8y agoIt wasnt formulated nicely, I grant you that. PHP bashing is easy even if the language caused big upsides for a lot of people. But a developer is responsible for the consequences of his choices. If you name your tokens in Hebrew with consequences for error messages, you know you're gonna raise some eyebrows and cause pain for your colleagues. The simple fact that the message is in this list proves that I am not alone with this opinion.
- seandougall 8y agoIt is, notably, just that one. If everything were in Hebrew, I would personally be perfectly happy to adjust. But being the only non-English token makes it a completely unnecessary source of cognitive load in a language that is already criticized for its standard library’s frequently inconsistent use of grammar.
- andrewmackrodt 8y ago733 (D)ucking Deadlocks - I support 1000%
- gdamjan1 8y agonot worth the bits it's on
- ricanontherun 8y agoDammit I thought this was serious.