Added HEAD support