Fix bitmask for HEAD request