admin管理员组文章数量:1289874
I am usig Delphi XE10.3 + TIdHTTP(Indy)(10.6.2) control to visit websites.
When visiting my website via Get method, I will get an exception "HTTP/1.1 406 Not Acceptable".
I am not sure whether it is a problem of my program or my website, so I try to use my program to visit another website and this time I will NOT get the exception.
Therefore, this is a problem of my website so I ask here.
Based on Error:406 not acceptable, "A 406 Not Acceptable HTTP error usually indicates that the content type of your webpage is not in the Accept request header that your browser sent to the webserver.", so is there a way to know what is "the content type of my website"?
Thanks
本文标签: Get quotHTTP11 406 Not Acceptablequot when accesing my website with Delphi Indy Control
版权声明:本文标题:Get "HTTP1.1 406 Not Acceptable" when accesing my website with Delphi Indy Control 内容由网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:http://www.betaflare.com/web/1741472371a2380680.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论