HTTP: The Definitive Guide

Content-Base


The Content-Base header provides a way for a server to specify a base URL for resolving URLs found in the entity body of a response.[5]The value of the Content-Base header is an absolute URL that can be used to resolve relative URLs found inside the entity.

[5] See Section 2.3 for more on base URLs.

Type

Entity header

Notes

This header is not defined in RFC 2616; it was previously defined in RFC 2068, an earlier draft of the HTTP/1.1 specification, and has since been removed from the official specification.

Basic Syntax

Content-Base: absoluteURL

Example

Content-Base: http://www.joes-hardware.com/

Категории