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

      case (name.upcase)
      when 'CONTENT-TYPE'
        content_type = @options['type']
        content_type += '; charset=' + @options['charset'] if (@options.include? 'charset')
        return content_type
      when 'STATUS'
        return @options['status']
      when 'SERVER'
        return @options['server']
      when 'CONNECTION'
        return @options['connection']
      when 'CONTENT-LENGTH'
        return @options['length']
      when 'CONTENT-LANGUAGE'
        return @options['language']
      when 'EXPIRES'
        return @options['expires']
      when 'SET-COOKIE'
        return @options['cookie']
      else
        return @options[name]
      end
    end