# File lib_wpm/wpm/cgidriver.rb, line 37
    def header(name)
      @closed and raise 'closed'

      case (name)
      when /^Content-Type$/i
        content_type = @options['type']
        content_type += '; charset=' + @options['charset'] if (@options.include? 'charset')
        return content_type
      when /^Status$/i
        return @options['status']
      when /^Server$/i
        return @options['server']
      when /^Connection$/i
        return @options['connection']
      when /^Content-Length$/i
        return @options['length']
      when /^Content-Language$/i
        return @options['language']
      when /^Expires$/i
        return @options['expires']
      when /^Set-Cookie$/i
        return @options['cookie']
      else
        return @options[name]
      end
    end