in reply to redirect() vs location
Solution? Just send the location header, if you want to use it. Send a status code header if you want the browser to display its specific error. Send the content-type header if you're returning data to be displayed.
Update: I checked the relevant RFC for HTTP 1.1, and the status line header is sent before the Content-Type. So disregard that information, as BBQ is correct for HTTP 1.1. (Now I have to make a note about this book. Grr.)
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
RE: Re: redirect() vs location
by BBQ (Curate) on Jun 28, 2000 at 09:07 UTC | |
by SuperCruncher (Pilgrim) on Jun 28, 2000 at 22:52 UTC |