Hi.

I am trying to use CFHTTP as follows and am getting "connection failure".

I have read the article from Steve Erat about using:

<cfhttpparam type="Header" name="Accept-Encoding" value="deflate;q=0">
<cfhttpparam type="Header" name="TE" value="deflate;q=0">

but this just told me that "Header" was an invalid type for cfhttpparam tags, 
so I guess I am using these incorrectly ??

Any help would be appreciated.
Thanks,
Murray

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html>
<head>
<title>Untitled</title>
</head>
<body>
<cfhttp Method="GET" 
url="https://www.sanford.com.au/sanford/Public/Home/Start.asp"; resolveurl="yes">

<cfoutput>#CFHTTP.FileContent#</cfoutput>
</body>
</html>

Using the following instead gives me the aforementioned "invalid type" message:

<cfhttp Method="POST" 
url="https://www.sanford.com.au/sanford/Public/Home/Start.asp"; resolveurl="yes">

<cfhttpparam type="Header" name="Accept-Encoding" value="deflate;q=0">
<cfhttpparam type="Header" name="TE" value="deflate;q=0">

</cfhttp>


~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:197634
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

Reply via email to