[crickets]  :-)

On Fri, Feb 3, 2012 at 4:18 PM, John M Bliss <[email protected]> wrote:

> Hoping someone can see what might be happening here. I have:
>
> <cfset aFileContent = arraynew(1)>
> <cfset i = 0>
>  <cfloop query="myquery">
> <cfset i = i + 1>
> <cfhttp method="post" url="http://site.com";>
>  <cfhttpparam type="header" name="id" value="#myquery.id#">
> </cfhttp>
>  <cfdump var="#myquery.id#">
> <cfdump var="#cfhttp#">
>  <cfset aFileContent[i] = cfhttp.FileContent>
> </cfloop>
>
> ...and those dumps are producing:
>
> 1
> [cfhttp dump with Status_Code = 200]
>
> 2
> [cfhttp dump with Status_Code = 200]
>
> ...etc...
>
> [another id]
> [cfhttp dump with Status_Code = 400 Bad Request]
>
> [another id]
>
> ...and then nothing. No cfhttp dump, no CF error...nothing. It seems as
> though Status_Code = 400 on the second-to-last time through the loop is
> doing...something...?  Making it so that the last cfhttp doesn't run and
> then aborting?
>
> In case it matters, FileContents that I'm sticking in to that array are
> large (len of 25,000,000). But I don't think that's the issue. That is, I'm
> not getting java heap errors or anything.  Seems to be related to
> the Status_Code = 400.
>
> --
> John Bliss - http://about.me/jbliss
>
>


-- 
John Bliss - http://about.me/jbliss


~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:349777
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm

Reply via email to