HTTP Status Reason broken in Tomcat 9

Just today, I found the “amusing” fact that Tomcat server developers have taken it upon themselves to delete support for the HTTP Status Reason.

Think “200 OK” or “404 Not Found”. Even for applications sending a reason & clients expecting it, Tomcat is coded to explicitly drop the value — sending just a bald 200 or 404.

Unsurprisingly for those with the slightest knowledge of protocol compatibility, this is now breaking clients in the wild.

Continue reading