Fixing bug on head http message at QueryServerResource