added HEAD support
0.3.5