File Content Type Normalizer

Koyeb

File Content Type Normalizer

Normalize the content type of the file

Deploy now
Ready to go in minutes
Ready to go in minutes

Deploy the File Content Type Normalizer integration to process data on your processing stack in no time. Koyeb integrations are preconfigured applications to ingest, process, and store your data.

Infinite combination
Infinite combination

Compose processing workflows with ready to use integrations and your own code if needed. Build your business logic with our SDKs in Golang, Node.js, and Python or using Docker images.

No infrastructure management
No infrastructure management

Koyeb all-in-one platform is backed by a highly available infrastructure. Build advanced operation pipelines for your data with zero server maintenance.

Integration overview

This processing integration will correct the content type in the metadata of the object if it is not properly set.

A lot of input sources, including S3 SDKs or Clients when using the Koyeb S3 API, will not properly set the ContentType at upload. This integration is necessary if you're not sure the input source will set the ContentType properly and you want to:

  • filter files depending of their type using the Koyeb if to run only part of your workflow depending of the file type
  • distribute the files to end users as the web browser might not understand what to do with file if the contentType is incorrect

How it works

It reads the header of the file and uses libmagic to detect the file type. The Unix file command does provide the same capability.

Input data

Any object.

Output data

It will return the exact same objects with only the ContenType in the metadata updated.

About the Koyeb Service Provider

Koyeb

The Platform provides integrated storage and data processing features.

Discover all Koyeb integrations →
20+

20+

Region

50+

50+

Integrations

60

60

Seconds to deploy


Ready to get started?

Request your invitation now and deploy your processing stack in minutes.

footer-frame