validator middleware, dispatcher .pre(), fixed empty response content-type