I have a debug page I've written for other developers here that just dumps the response to an HTTP request. Just dumps the cfhttp struct that is returned from a cfhttp call.
You're right, 302 may not always be Moved Temporarily, though it was in my first test case. I think the string itself is web server-dependent. CFMX with IIS 5 on Win2k returns 302 Moved Temporarily, while CF5 with Apache on Solaris 2.8 returns 302 Found. Sorry haven't tried returning my own headers, though if CF can do it for cflocation, perhaps you can with cfheader. :) > -----Original Message----- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED]]On Behalf Of Mark > Stanton > Sent: Thursday, 23 January 2003 14:40 > To: CFAussie Mailing List > Subject: [cfaussie] RE: cflocation and http codes > > > Thanks mate, how do you find out what it is? > > BTW: 302 is "Found" - 307 is "Temporary Redirect", but reading the > definition of each they look pretty similar. > > Another thing.... is it possible to get CF to send other > status codes like > 301 & the appropriate header data? I don't mean to modify the > cflocation > behaviour, but does anyone have examples of doing this with cfheader? > > Cheers > > Mark > > > ______________ > Mark Stanton > Web Production > Gruden Pty Ltd > Tel: 9956 6388 > Mob: 0410 458 201 > Fax: 9956 8433 > email: [EMAIL PROTECTED] > www.gruden.com > > > --- > You are currently subscribed to cfaussie as: [EMAIL PROTECTED] > To unsubscribe send a blank email to > [EMAIL PROTECTED] > > MX Downunder AsiaPac DevCon - http://mxdu.com/ > --- You are currently subscribed to cfaussie as: [email protected] To unsubscribe send a blank email to [EMAIL PROTECTED] MX Downunder AsiaPac DevCon - http://mxdu.com/
