method

extract_handler_and_format

extract_handler_and_format(path, default_formats)
private

Extract handler and formats from path. If a format cannot be a found neither from the path, or the handler, we should return the array of formats given to the resolver.