If you use DocumentBuilder to insert html that requires Aspose Words retrieve assets from the web Aspose identifies as IE5 in those requests, specifically as “Mozilla/4.0+(compatible;+MSIE+5.01;+Windows+NT+5.0)”.
This is ancient, and while ident strings shouldn’t be used for anything they often are, especially by application firewalls and by auditors who like to raise red flags, and especially when it’s something “ancient” like IE5.
Is there a way we can set the user-agent string used in the requests? Or can you at least update that string to something current-ish.
The code sample below will result in the request to server.com coming from “Mozilla/4.0+(compatible;+MSIE+5.01;+Windows+NT+5.0)”
var d = new Aspose.Words.Document(); var db = new DocumentBuilder(d); db.InsertHtml("<img src='https://server.com/image.png'/>");