Give us feedback
content-type
Service icon

Content Type

Stable version 1.0.1 (Compatible with OutSystems 11)
Other versions available for 10
Uploaded on 22 December 2022 by 
5.0
 (1 rating)
content-type

Content Type

Details
Simple Server Action for identifying the Content Type of a given file name. Uses the MIME registry database installed on the server and a list of preset types.
Read more

This Server Action returns a Content Type that corresponds to the given file name. It uses the Windows Registry and a preset list of file extensions. If no corresponding type is found, "application/octet-stream" is returned.

Release notes (1.0.1)
  • Changed application type to Service.
  • Improved logic so that it does not throw an error when the provided filename contains invalid path characters (i.e. <, >, /, etc).
Reviews (0)
Team