# File lib_wpm/wpm.rb, line 3753
    def setup_response
      @driver.set_status(@status)

      content_type = @content_type
      if (content_type =~ %"text/\S+"i && @charset) then
        content_type += "; charset=#{@charset}"
      end
      @driver.set_header('Content-Type', content_type)

      nil
    end