parameters: (response, last_modified=None, etag=None, max_age=0)
return_statement: return response.make_conditional(request.httprequest)
docstring: Makes the provided response conditional based upon the request,
      and mandates revalidation from clients
  
      Uses Werkzeug's own :meth:`ETagResponseMixin.make_conditional`, after
      setting ``last_modified`` and ``etag`` correctly on the response object
  
      :param response: Werkzeug response
      :type response: werkzeug.wrappers.Response
      :param datetime.datetime last_modified: last modification date of the response content
      :param str etag: some sort of checksum of the content (deep etag)
      :return: the response object provided
      :rtype: werkzeug.wrappers.Response
docstring_summary: Makes the provided response conditional based upon the request,
      and mandates revalidation from clients
docstring_tokens: Makes the provided response conditional based upon the request and mandates revalidation from clients
function: def make_conditional(response, last_modified=None, etag=None, max_age=0):
      """ Makes the provided response conditional based upon the request,
      and mandates revalidation from clients
  
      Uses Werkzeug's own :meth:`ETagResponseMixin.make_conditional`, after
      setting ``last_modified`` and ``etag`` correctly on the response object
  
      :param response: Werkzeug response
      :type response: werkzeug.wrappers.Response
      :param datetime.datetime last_modified: last modification date of the response content
      :param str etag: some sort of checksum of the content (deep etag)
      :return: the response object provided
      :rtype: werkzeug.wrappers.Response
      """
      response.cache_control.must_revalidate = True
      response.cache_control.max_age = max_age
      if last_modified:
          response.last_modified = last_modified
      if etag:
          response.set_etag(etag)
      return response.make_conditional(request.httprequest)
function_tokens: def make_conditional ( response , last_modified = None , etag = None , max_age = 0 ) : response . cache_control . must_revalidate = True response . cache_control . max_age = max_age if last_modified : response . last_modified = last_modified if etag : response . set_etag ( etag ) return response . make_conditional ( request . httprequest )