added a DataResp and DataHandlerFunc that selects content type based on suffix