Current behavior:
When loading a web page from our CDN (Azure) we do not have any issues in standard web browsers but when using Cypress. We receive the following error message:

Seems like it does the like the appended semicolon. I can't imagine that this additional semicolon used for adding e.g. a charset information is really that problematic.
Desired behavior:
I guess Cypress should tolerate all content-types starting with "text/html" instead of doing a strict string check here.
Test code to reproduce
Try running cypress again one of our CDN urls e.g.:
CYPRESS_BASE_URL=https://hconnectmanage-qa.azureedge.net/ yarn cypress run
The actual test is not relevant. It fails even before starting.
I modified your tiny repo to show it quickly:
https://github.com/swernerx/cypress-test-tiny/tree/content-type-issue
Versions
Cypress: v5.1
MacOS 10.15.6
Electron as bundled by Cypress
Current behavior:
When loading a web page from our CDN (Azure) we do not have any issues in standard web browsers but when using Cypress. We receive the following error message:
Seems like it does the like the appended semicolon. I can't imagine that this additional semicolon used for adding e.g. a charset information is really that problematic.
Desired behavior:
I guess Cypress should tolerate all content-types starting with "text/html" instead of doing a strict string check here.
Test code to reproduce
Try running cypress again one of our CDN urls e.g.:
CYPRESS_BASE_URL=https://hconnectmanage-qa.azureedge.net/ yarn cypress runThe actual test is not relevant. It fails even before starting.
I modified your tiny repo to show it quickly:
https://github.com/swernerx/cypress-test-tiny/tree/content-type-issue
Versions
Cypress: v5.1
MacOS 10.15.6
Electron as bundled by Cypress