HTTP headers / response header

X-Frame-Options

X-Frame-Options: DENY

What it does

Controls whether the page may be embedded in an iframe — the classic clickjacking defense (DENY / SAMEORIGIN).

The gotcha

Superseded by CSP frame-ancestors, but kept for older browsers; conflicting values between the two confuse middleware stacks.

Debugging headers on a phone

The fastest way to see what X-Frame-Options is actually doing is to send the request and read both sides raw — ReqPad shows auto-generated and custom headers for every request, on all six protocols, with history. Related references: status codes · WWW-Authenticate · Content-Encoding · Transfer-Encoding · ETag · Last-Modified · Expires

Inspect X-Frame-Options on a live request.

Build the request, send it, read raw headers and timing — from your iPhone. Free to start.