Expected Behaviour
The AEMUpload class should allow to upload HTML files to DAM
Actual Behaviour
HTML files fail to upload because AEM tries to validate them as JSON files. Seeing the error:
`Upload START 'index.html': 319901 bytes
Upload FAILED 'index.html': 'Unexpected token < in JSON at position 0 while parsing near '
Reproduce Scenario (including but not limited to)
Using @adobe/aem-upload to do the upload, try to upload HTML file. The issue is in this library, as it is ignoring mime type
Steps to Reproduce
Platform and Version
Sample Code that illustrates the problem
Logs taken while reproducing problem
Expected Behaviour
The AEMUpload class should allow to upload HTML files to DAM
Actual Behaviour
HTML files fail to upload because AEM tries to validate them as JSON files. Seeing the error:
`Upload START 'index.html': 319901 bytes
Reproduce Scenario (including but not limited to)Upload FAILED 'index.html': 'Unexpected token < in JSON at position 0 while parsing near '
Using @adobe/aem-upload to do the upload, try to upload HTML file. The issue is in this library, as it is ignoring mime type
Steps to Reproduce
Platform and Version
Sample Code that illustrates the problem
Logs taken while reproducing problem