* If given format on path, extract and set in params; default to html if none specified.