'application/pdf' mime type recognized as a page #1014
Labels
AREA: server
STATE: Auto-locked
Issues that were automatically locked by the Lock bot
SYSTEM: resource processing
TYPE: bug
Milestone
A browser sends the
accept
header with the page mime type when I click on a link. For example:Accept: text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8
But we don't consider the
content-type
header from response. We process resource like a page if thecontent-type
header equalsapplication/pdf
ortext/plain
etc.See DevExpress/testcafe#1130
The text was updated successfully, but these errors were encountered: