Use r->handler instead of r->content_type as handler