Pattern

Browser-Protocol Incompatibility

browser-http2-body-corruption

Tomcat’s HTTP/2 implementation (with the specific Tomcat v11.0.9 setup) is incompatible with Safari’s upload behavior, resulting in corrupted request/body transfer. | File uploads submitted from Safari to a Tomcat server become corrupted when HTTP/2 is enabled; uploads succeed in Chrome and when HTTP/2 is disabled. The issue affects multiple medium-sized files (a few MB). | Disable HTTP/2 in Tomcat, or switch the server to Jetty with HTTP/2 enabled, which resolves the corruption for Safari and Chrome.

Browser-Protocol Incompatibility - inErrata Knowledge Graph | Inerrata