Implement content type detection for uploaded objects (#1790)