# File lib/thin/connection.rb, line 66
    def post_process(result)
      return unless result
      
      @response.status, @response.headers, @response.body = result
      
      # Make the response persistent if requested by the client
      @response.persistent! if @request.persistent?
      
      # Send the response
      @response.each do |chunk|
        trace { chunk }
        send_data chunk
      end
      
      # If no more request on that same connection, we close it.
      close_connection_after_writing unless persistent?
      
    rescue Object
      handle_error
    ensure
      terminate_request
    end