phpbar.de logo

Mailinglisten-Archive

[php] Seite aufrufen

[php] Seite aufrufen

Guido Haeger GH-lists_(at)_ecora.de
Wed, 26 Apr 2000 13:41:56 +0200


Arne Blankerts schrieb

> >und die URL hinter Location muß vollständig sein,
> >d.h. http://server.name/vollstaendiger/pfad/dateiname.ext
>
> NEIN. Stimmt nicht.

RFC 2616 (HTTP/1.1)

14.30 Location

   The Location response-header field is used to redirect the recipient
   to a location other than the Request-URI for completion of the
   request or identification of a new resource. For 201 (Created)
   responses, the Location is that of the new resource which was created
   by the request. For 3xx responses, the location SHOULD indicate the
   server's preferred URI for automatic redirection to the resource. The
   field value consists of a single absolute URI.

       Location       = "Location" ":" absoluteURI

   An example is:

       Location: http://www.w3.org/pub/WWW/People.html


RFC 1945 (HTTP/1.0)

10.11  Location

   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

Guido Haeger






php::bar PHP Wiki   -   Listenarchive