Since it works in CMFX7 I could see the header as "HTTP/0.9 200 OK",
so I decided to fix it using java.
So this is how I fixed/got around it...
<cfscript>
my_url_string = 'http://my.fake.host.com:8090/data.html';
objUrl = createobject("java","java.net.URL").init(javacast("string",
my_url_string));
conn = objUrl.openConnection();
conn.setDoOutput(true);
inSr = createobject("java","java.io.InputStreamReader").init
(conn.getInputStream());
inBr = createObject("java","java.io.BufferedReader").init(inSr);
str = inBr.readLine();
// loop ... str will be undefined if there are no more lines
while (isDefined("str"))
{
Data = str&chr(10);
writeoutput(Data);
// read the next line so we can continue the loop
str = inBr.readLine();
}
// close the buffered reader object
inBr.close();
</cfscript>
--~--~---------~--~----~------------~-------~--~----~
Open BlueDragon Public Mailing List
http://groups.google.com/group/openbd?hl=en
official site @ http://www.openbluedragon.org/
!! save a network - trim replies before posting !!
-~----------~----~----~----~------~----~------~--~---