Added HEAD request support