Adding a static handler to the content-type verification in order to allow overwriting it