# File mod_docs/access.rb, line 328
  def new(*args)
    access = RequestHeaderAllowAccessFilter.new
    NARGS.times do
      name = args.shift
      header_pat = args.shift
      if (name && ! name.empty?) then
        if (header_pat && ! header_pat.source.empty?) then
          access.add_allow_header(name, header_pat)
        end
      end
    end
    access
  end