https://shipreadyai.dev/learn/findings/o2-referrer-policy-missing

> Discover all available pages from the documentation index at https://shipreadyai.dev/llms.txt

# Referrer-Policy is not set

Full page addresses, including anything you put in a path or query string, are sent to third party sites your pages link to or load from.

## Why AI-built apps get this

Response headers are written by nobody. Your framework does not add them, your builder does not add them, and your host adds one or two at most. They are the clearest example of a gap that no tool closes on your behalf, which is why almost every app built by a prompt ships without them.

## Evidence line

GET https://example.com returned no strict-transport-security header

## The fix

Add the response header Referrer-Policy: strict-origin-when-cross-origin.

## Prompt

Set the Referrer-Policy response header to strict-origin-when-cross-origin on every HTML response. It keeps full page URLs, which can carry ids and tokens, from being sent to other sites. Add it wherever this app sets response headers: the server framework, a middleware, or the hosting platform's headers configuration. Verify by requesting the page with curl -I.
