- Original Message -
From: Dave Carabetta [EMAIL PROTECTED]
To: CF-Talk [EMAIL PROTECTED]
Sent: Tuesday, August 05, 2003 11:28 AM
Subject: Re: cfhttp.responseHeader
Anyone know offhand how to examine cfhttp.responseHeader to tell if the
cfhttp
operation has gotten a 404 error?
Just
Anyone know offhand how to examine cfhttp.responseHeader to tell if the
cfhttp
operation has gotten a 404 error?
Just cfdump #cfhttp# and you should be able to get all the info you want out
of it, including the status code.
Regards,
Dave.
cfhttp.responseheader['status_code'] will give you the response code of 404.
Jeff
-Original Message-
From: Jim McAtee [mailto:[EMAIL PROTECTED]
Sent: Tuesday, August 05, 2003 1:15 PM
To: CF-Talk
Subject: cfhttp.responseHeader
Anyone know offhand how to examine cfhttp.responseHeader to
Anyone used CFHTTP.ResponseHeader[http_hd_key]
What is this for?
Uh, it's for reading one or more of the response headers returned by the
remote server after a CFHTTP request.
You might use this for reading cookies, for example; cookies are set in the
HTTP response header. So, if you
4 matches
Mail list logo