Actually its not text, and if you look closely enough to the docs it
explains that it is returned as an array, But looking at it from a cfa_dump
point of view shows it as being a Structured Array. So if you have spectra
installed or one of the many dump tags, you can simply do:-

<cfa_dump var="#cfhttp.ResponseHeader#">

regards

Andrew Scott
Senior Coldfusion Application Developer



-----Original Message-----
From: Seva Petrov [mailto:[EMAIL PROTECTED]]
Sent: 16 February 2001 15:56
To: CF-Talk
Subject: Re: CFHTTP


Martin,

Not sure if this is going to help with resolving the "connection failure"
problem, but you can write CFHTTP.ResponseHeader to a file with <cffile>,
then read the file to get the debugging info you need. It is text,
although for some reason CF doesn't see it as such.

Best,
Seva Petrov


On Thu, 15 Feb 2001, Martin S wrote:

> When display the #CFHTTP.ResponseHeader# the following error is displayed
:
> >Error Diagnostic Information
> >Expression result cannot be converted to a string
> >
> >Expressions used inside tags like CFOUTPUT, CFQUERY, CFMAIL, etc. > must
> >evaluate to a value that can be converted to a string for output or
dynamic
> >text accumulation purposes. Complex objects, such as queries, arrays, and
> >COM/DCOM objects, cannot be represented as strings.
>
> >The error occurred while processing an element with a general identifier
of
> >(#CFHTTP.ResponseHeader#), occupying document position (26:1) to (26:23).
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm

Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

Reply via email to