python example updated with Content-Type for each part, and custom filename.