简体   繁体   中英

ActiveX control doesn't install from CAB file when http response has some particular Content-Type headers

When I open the web page, the web browser downloads the activeX control from the server. It is interesting to see that when a http response doesn't have Content-Type header at all, the activeX control is installing fine. However if we have Content-Type = text/plain or Content-Type = application/vnd.ms-cab-compressed the installation of the activeX fails.

1) What Content-Types should I try to succsessfully install the activeX ?

2) Maybe there is some web browser (IE ofcourse) settings to resolve this issue? I mean to not block the activeX installation when the Content-Type isn't quite correct.

与“应用程序/邮政编码”内容类型配合使用时效果很好

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM