(transformations)
| 484 | } |
| 485 | |
| 486 | function build_eager(transformations) { |
| 487 | return toArray(transformations) |
| 488 | .map((transformation) => { |
| 489 | const transformationString = utils.generate_transformation_string(clone(transformation)); |
| 490 | const format = transformation.format; |
| 491 | return format == null ? transformationString : `${transformationString}/${format}`; |
| 492 | }).join('|'); |
| 493 | } |
| 494 | |
| 495 | /** |
| 496 | * Build the custom headers for the request |