Details
-
Fix
-
Status: Released (View Workflow)
-
Minor
-
Resolution: Fixed
-
1.10
-
None
Description
Current Situation
If the parameter content_type is not set and the input file has the extension .xml or .html or .htm the job tries to guess the content type from the content of the input file be looking for the keyword encoding=
The job reads the whole file to find the encoding=
Desired behaviour
- When the extension is .xml the the job should look for encoding=
- When the extension is .htm or .html, the job should look for charset=
- The job should not read the whole file but only the first 10 lines.