The jailer of a jail jointly owned by a county and a municipality shall, in regard to municipal prisoners, provide daily wholesome and sufficient food and drink, fire and lights when necessary and proper, and sufficient and clean bedding for all such prisoners committed to the jail, either before or after conviction. Any prisoner may, if he thinks fit, supply himself with meat and drink and bedding, but the same shall pass through the hands of the jailer to the prisoner.