Why would u need disk space to serve an http req?
Surely generic servers like apache, nginx handle that case gracefully.
It probably isn't a handcoded server in python or something like that, because it is returning a precise status code and message instead of just converting a write() exception to a generic 500.
It's an amazing feat of engineering to get this so wrong.
So that users can read the content...
> So that users can read the content...
Does e.g. your authorization middleware adopt the same stance?
Try to log, if not, serve anyways, anything else is insane for a static website.
Take a law firm's website, you would rather not serve the webpage because the disk is full? I'm getting all your clients bro.
People can complain all they want about CDNs running the internet, but my wife's crappy little website hasn't been offline since I left broke it myself.