So I realized that openlitespeed does not seem to support all http error codes. Particularly, it doesn't seem to support all 4xx error codes.
I have provided proper support for the missing code here, but built in support would be great. Maybe I should open a ticket on the git repo....
This is...