Use r->handler when r->content_type is NULL