Login to follow
MIME_Detective

MIME_Detective (ODC)

Stable version 1.0.0 (Compatible with ODC)
Uploaded on 05 September 2024 by OutSystems Labs
MIME_Detective

MIME_Detective (ODC)

Documentation
1.0.0

Install on environment. No configuration required.


Usage:

Create Definitions object, according to your needs, including all acceptable/valid files types and/or extensions.

Definition packs make it easy to expand or limit the number of definitions that the Inspector will use.



Add custom file type(s) if necessary.



Inspect a file using the previously created definitions object.

The inspection result can be a fully detailed result, or results grouped by file extension or file types.


Optimizing/Balancing Performance and Memory

  1. Trim the Data You Don't Need
    • Create definitions including only valid files.
    • Trim mime-types, file signatures and descriptions from responses.
  2. Slow Initialization = Fast Execution
    • Use the same definitions object when performing the same validation for multiple files.
  3. Parallel = True/False
    1. The Parallel option controlls whether multiple threads will be used to perform detections. If you have lots of definitions or want to make optimal usage of your CPU, this should be set to true. If you have a low number of definitions or you want more balanced CPU usage, set this to false.