Content-Location

The HTTP Content-Location header indicates an alternative service, or location, for the resource.

Table of Contents

Usage

The HTTP Content-Location header is often part of the Content Negotiation process and indicates a direct URL to the resource. Unlike the Location header, which concerns the HTTP response in general, the Content-Location header is related to the resource itself.

Response

Content-Location: <resource_url>

Takeaway

The Content-Location header indicates a specific or relative URL for the resource.

See also

Last updated: June 2, 2022