i have a certain problem with the CFHTTP tag.
it has problems to reach several sites. the response is the following
code:
CONTENT-LENGTH : 772
CONTENT-TYPE : text/html
DATE : Tue, 11 Sep 2001 10:04:57 GMT
EXPIRES : Tue, 11 Sep 2001 10:04:57 GMT
EXPLANATION : Service
HTTP_VERSION : HTTP/1.0
MIME-VERSION : 1.0
PROXY-CONNECTION : close
SERVER : Squid/2.3.STABLE4-hno.CVS
STATUS_CODE : 503
X-CACHE : MISS from firewall.de
X-SQUID-ERROR : ERR_DNS_FAIL 0
following code is used:
<cfhttp url="http://www.discovery-channel.de/" method="get"
timeout="5000" proxyserver="192.168.1.6" proxyport="8080"
redirect="Yes" resolveurl="Yes"></cfhttp>
<CFLOOP collection=#CFHTTP.RESPONSEHEADER# item="httpHeader">
<CFSET value = CFHTTP.RESPONSEHEADER[httpHeader]>
<CFIF IsSimpleValue(value)>
<CFOUTPUT>
#httpHeader# : #value#<BR>
</CFOUTPUT>
<CFELSE>
<CFLOOP index="counter" from=1 to=#ArrayLen(value)#>
<CFOUTPUT>
#httpHeader# : #value[counter]#<BR>
</CFOUTPUT>
</CFLOOP>
</CFIF>
</CFLOOP>
<cfabort>
I would be grateful for each note.
P.S. I assume that it is because of the firewall,how can i solve this
problem?
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Get the mailserver that powers this list at http://www.coolfusion.com
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists