RE: [PHP] Header

From: Date: Wed, 20 Dec 2000 19:05:55 +0000
Subject: RE: [PHP] Header
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-31289@lists.php.net to get a copy of this message
No, but it isn't "required" for the function to perform as intended. Stating what is proper to be compliant and stating what is required are two different things. Dave -----Original Message----- From: Cynic [mailto:cynic@mail.cz] Sent: Wednesday, December 20, 2000 12:49 PM To: mathias rockel; Dan Lowe; php-general@lists.php.net Subject: Re: [PHP] Header Is being standards-compliant such a PITA? At 18:41 20.12. 2000, mathias rockel wrote the following: -------------------------------------------------------------- >Hi! > >Although it is it seemed to me every browser I tried could use relative urls >as a location header. anyone made different experiences ? > >mats >----- Original Message ----- >From: "Dan Lowe" <dan@tangledhelix.com> >To: <php-general@lists.php.net> >Cc: <php-general@lists.php.net> >Sent: Wednesday, December 20, 2000 1:08 AM >Subject: Re: [PHP] Header > > >> Previously, Diogo Zulli said: >> > On [15 December 2000 18:32] (Cynic), wrote: >> > >> > } According to the HTTP protocol, the URL must be absolute. >> > >> > Does this means that "http://hostname/" >> > should be on "Location: " >> > or just the /absolute/pathname must be there? >> >> Must be fully qualified with protocol, host, and anything extra, so >> yes, http://hostname/extra/ is needed. >> >> See section 14.30 of RFC 2616 (HTTP 1.1) or section 10.11 of RFC 1945 >> (HTTP 1.0). >> >> The Location response-header field defines the exact location of the >> resource that was identified by the Request-URI. For 3xx responses, >> the location must indicate the server's preferred URL for automatic >> redirection to the resource. Only one absolute URL is allowed. >> >> Location = "Location" ":" absoluteURI >> >> An example is >> >> Location: >> http://www.w3.org/hypertext/WWW/NewLocation.html >> >> -dan >> >> -- >> Dan Lowe <dan@tangledhelix.com> >> http://tangledhelix.com/ >> >> What happens if you get scared half to death twice? >> >> -- >> PHP General Mailing List (http://www.php.net/) >> To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net >> For additional commands, e-mail: php-general-help@lists.php.net >> To contact the list administrators, e-mail: php-list-admin@lists.php.net >> >> >> >> -- >> PHP General Mailing List (http://www.php.net/) >> To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net >> For additional commands, e-mail: php-general-help@lists.php.net >> To contact the list administrators, e-mail: php-list-admin@lists.php.net >> > > >-- >PHP General Mailing List (http://www.php.net/) >To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net >For additional commands, e-mail: php-general-help@lists.php.net >To contact the list administrators, e-mail: php-list-admin@lists.php.net ------end of quote------ ____________________________________________________________ Cynic: A member of a group of ancient Greek philosophers who taught that virtue constitutes happiness and that self control is the essential part of virtue. cynic@mail.cz -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net For additional commands, e-mail: php-general-help@lists.php.net To contact the list administrators, e-mail: php-list-admin@lists.php.net

« previous php.general (#31289) next »