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
What are HTTP Status Codes? HTTP status codes are three-digit numbers returned by a web server to indicate the status of a clientโs request. They provide standardized communication and feedback on the success or failure of the request.These status codes provide information about the outcome of the request. They also enable effective communication between the [โฆ]
"218 This is fine" - definitely means the web server is on fire.
@LangerJan @claudius @jenniferplusplus
HTTP 231 WHATEVER MOM
@jenniferplusplus It was covered by using User-Agent: MSIE
Like talking to a child.
@jenniferplusplus I think we need some kind of status sub-codes:
HTTP 202 Accepted.
HTTP 202a Reluctantly Accepted.
HTTP 202b Okay, but could you please not.
HTTP 202c Got ya, now staahp plz.
HTTP 202d It's not funny anymore!
HTTP 202e I'm not mad, just disappointed.
@frederic @jenniferplusplus
Microsoft implemented sub codes with IIS ๐