【发布时间】:2012-08-03 23:58:02
【问题描述】:
我正在使用cfhttp 来获取文档并解析内容,如下所示:
<cfhttp
method="GET"
url="#url.strURL#"
resolveurl="true"
useragent="#CGI.http_user_agent#"
result="objGet"
timeout="60"
charset="utf-8"
/>
但是,有些文档相当大。我不需要得到整个东西 - 这可能需要很长时间。
有什么方法可以在X 加载字节数后停止运行cfhttp?或者例如限制获得多少。
感谢您的帮助。
【问题讨论】:
标签: coldfusion coldfusion-9 railo cfhttp