An Azure Function that uses a BlobTrigger to copy a blob to another container while retaining the original blob content-type.
The Azure Functions Blob Output Binding, as of December 2020, does not retain content-type property of blobs.
This sample follows the current guidance to use the Blob libraries directly to set the content-type property.
Monitored container in the configured input_container_name
from Blob Trigger with content-type:
Output blob in the configured output_container_name
container with content-type: