macromedia.coldfusion.cfml_general_discussion
[Top] [All Lists]

CFHTTP Requests

Subject: CFHTTP Requests
From: "Nemex2"
Date: Tue, 7 Aug 2007 23:58:18 +0000 UTC
Newsgroups: macromedia.coldfusion.cfml_general_discussion
I've been searching for this but couldn't seem to find anything in the CFDOCs 
on this one.  Basically, when I send a CFHTTP request, I need to be able to see 
the request (from the server I'm connecting to's perspective) as well as the 
response.  Currently, <cfdump var="#cfhttp#" /> will allow me to see the 
response, but the most important aspect in my troubleshooting will be the 
request.  I need to be able to view it in a fashion similar to what httpspy 
produces:

 [b]HTTP REQUEST[/b]
 GET http://63.243.83.44:6103/rets/login HTTP/1.1
 User-Agent: BrokerDownload
 Rets-Version: RETS/1.5
 Accept: */*
 Connection: Keep-Alive
 Host: 63.243.83.44:6103

 [b]HTTP RESPONSE[/b]
 HTTP/1.1 401 Unauthorized
 Set-Cookie: JSESSIONID=58C32007EA345159C1F409265D3F5645; Path=/
 WWW-Authenticate: Digest realm="RETS Server", qop="auth", 
nonce="ebc021ead3df623dea83c1ca774d2345", 
opaque="b1e6ba2341c860a8f7a19023747b0579"
 Content-Type: text/html;charset=ISO-8859-1
 Content-Language: en-US
 Transfer-Encoding: chunked
 Date: Wed, 01 Aug 2007 16:24:16 GMT
 Server: Apache-Coyote/1.1
 Via: 1.1 HttpSpy

 Any insight on how to accomplish this, either via cfhttp or coldfusion 
debugging, would be tremendously appreciated.


<Prev in Thread] Current Thread [Next in Thread>