Added content-type handler
Overrode 404 behavior