我正在对 URL 进行 cfhttp 调用。该 URL 在我的机器上可以正常打开。该 URL 也不是 SSL 加密 URL。但我将 cfhttp.statuscode 设为“403 Forbidden”。请让我知道有什么办法可以解决这个问题。代码:
{
<cfhttp redirect="no" url="#desturl#" method="GET" timeout="20" userAgent="#useragent_txt#"/>
}
我正在对 URL 进行 cfhttp 调用。该 URL 在我的机器上可以正常打开。该 URL 也不是 SSL 加密 URL。但我将 cfhttp.statuscode 设为“403 Forbidden”。请让我知道有什么办法可以解决这个问题。代码:
{
<cfhttp redirect="no" url="#desturl#" method="GET" timeout="20" userAgent="#useragent_txt#"/>
}