fixed request changes in HEAD request