Http needs a status code for grudging acceptance. We have 202 Accepted. We need 222 Tolerated.
For when the client is doing it wrong, but you've decided to be the bigger person and deal with it anyway.
Http needs a status code for grudging acceptance. We have 202 Accepted. We need 222 Tolerated.
For when the client is doing it wrong, but you've decided to be the bigger person and deal with it anyway.
Actually, what I *really* want is a 3xx with a body.
322 Translated
Here's how you should have written that request, now go back to your seat and do it over
I'm doing activitypub things, and contemplating such quirks as the fact that there is no limit to the kind or depth of activities that can be the object of an undo activity.
In case you're wondering what prompted this.
oh, a couple of points:
1. 429 is the status code that means things like "I'm ignoring you" or "stop doing that"
A "tolerated" response code could feed into a fail2ban-like system that escalates to 429s.
2. I don't know why so many people think this is a joke?. It's barely even shitposty. And it's a real desire. I do genuinely want these things.
AP isn't a clean spec. It defines a way to say a bunch of stuff. It doesn't even really define what the things you may say mean. Different implementations will support different subsets of all AP messages.
It's a mess, and being able to hint at the issue with trying to speak your dialect is useful.
Having said that, lots of unambiguous protocols also allow for explanations of failure that go beyond HTTP status codes. Debug info is helpful!
@jenniferplusplus How about "200 OK?" where the question mark indicates that it's acceptable but the server thinks you're a dummy.
I wonder whether applications would notice the text change since they often don't check it, but presumably it should show up in developer tools
If HTTP can accommodate 418, it can certainly accommodate passive aggressive status codes.
@jenniferplusplus 444 Still not found
No, the page you requested still is not existent, even after you reloaded multiple times.
@jenniferplusplus Like a horribly twisted HTTP/2 Server Push
"Here's the request I'm going to act like you made instead"
@darrel_miller Actually every 3xx can have a response body (nginx generates an html for 301 for example). It's just that you most likely won't see the html response of most if not all of them in a normal web browser (I'm not sure how a 300 would be handled, but apparently that's for conneg) since they're redirect codes
I can kinda see the point of a "322" here where it would be like a 303 but the server wants to let you know that your request's format is deprecated or something