add do_HEAD
connect gae is critical