Workaround for Undertow throwing exception when actually there's no
error, but just to indicate that nothing has happened. See
https://java.net/projects/servlet-spec/lists/users/archive/2014-11/message/35
and https://issues.jboss.org/browse/UNDERTOW-259