# Check the page response before evaluating AI answers

Technical guide · By Optiview · Published October 30, 2026

Updated October 31, 2026.

Canonical article: https://optiview.ai/resources/audit-html-markdown-delivery/

Sources checked October 30, 2026.

Before judging an AI answer, have your web team record the exact page response available through the route being tested.

## Key takeaway

Ask your web team to save the actual page response. Check that it contains the facts you plan to test in an AI answer.

A delivery test records what a website returned. An answer-quality test examines what an AI system said. Keep separate records so you can tell what each test actually established.

Use this procedure on a public page you control. Start with one concrete buyer question and the facts needed to answer it, rather than a target word count.

## 1. List the facts that the page must contain

Choose a service, product or policy page. Write down three facts that matter to a customer, such as a named offering, an eligibility condition and a supporting link. Include any qualification that changes the meaning of the main claim.

This small inventory is your comparison checklist. If a fact is missing from the original published page, a different delivery format cannot establish that the business has published it. Ask the responsible team to confirm the information before adding it.

## 2. Save an HTML request and a Markdown request

The HTTP Accept header communicates a media-type preference. It does not force a server to produce that representation. Check the response Content-Type and body instead of assuming the preference was honored. See [HTTP Semantics, sections12 and12.5.1](https://www.rfc-editor.org/rfc/rfc9110.html#section-12.5.1).

These curl commands save headers and bodies separately. They follow redirects, use a bounded timeout and fail on HTTP errors. The example uses Optiview’s public homepage; replace it with a public page you own. No API key or account is needed for these ordinary webpage requests.

```bash
curl --fail --show-error --silent --location --max-time 30 \
  --header "Accept: text/html" \
  --dump-header html-headers.txt --output page.html \
  https://optiview.ai/

curl --fail --show-error --silent --location --max-time 30 \
  --header "Accept: text/markdown" \
  --dump-header markdown-headers.txt --output page.md \
  https://optiview.ai/
```

Read the final response header block when a redirect produced more than one. If the request fails, preserve the status and error. Do not replace the failure with a sample result or a successful fetch from another URL.

## 3. Compare both responses with the facts you listed

- Record the URL, UTC time, request headers, final status and Content-Type. Keep the response body with that record.
- Look for each required fact, its qualification and its link in both bodies. A price without its billing period is an incomplete observation.
- If both responses are HTML, record that outcome. The page may not offer Markdown negotiation, or its delivery policy may select HTML for your request.
- If Markdown is returned, check what it retains. Fewer bytes or fewer words do not prove that the required information survived.

On a supported Optiview Publish connection, eligible requests can receive a prepared representation according to the site’s configured delivery policy. The [Publish setup guide](https://optiview.ai/docs/setup/) explains current behavior and acceptance checks. An arbitrary website is not expected to behave like the Optiview example.

## 4. Check why the two responses differ

Repeat the pair of requests in both orders if responses appear inconsistent. Record cache-related headers and whether cookies, authentication, redirects or request preferences differ. These observations identify variables to investigate; they do not diagnose a cache defect on their own.

HTTP’s Vary field identifies request fields that influenced representation selection for cache matching. Check the actual edge configuration too; observing Vary alone does not show that every intermediary implements your intended cache key. See [HTTP Semantics, section12.5.5](https://www.rfc-editor.org/rfc/rfc9110.html#section-12.5.5).

## 5. Do not confuse delivery with indexing or AI use

A curl request is your request. Changing its User-Agent string does not turn it into a verified request from OpenAI, Google or another provider. Record named-service retrieval only when you have evidence for that particular service and event.

Google lists public crawl access, a successful response and indexable content among its technical requirements. Meeting the requirements does not guarantee indexing. Use Search Console to check Google’s own observations rather than treating this local response check as an indexing verdict. [Google Search technical requirements](https://developers.google.com/search/docs/essentials/technical)

An answer study needs its own record: the question, model or service, date, settings, answer, cited sources and repeated observations. A successful delivery check does not prove that a later answer used the saved response or that the delivery change caused an improvement.

## Let the evidence determine the next fix

If a required fact is absent from the published source, improve the source. If it exists in one response but disappears in another, check the delivery and extraction path. If both responses preserve it, proceed to a separate answer evaluation instead of repeatedly changing the format.

Use [See my site with Optiview](https://optiview.ai/demo/) to check a supported public page. For application workflows, [Parse](https://optiview.ai/developers/parse/) processes HTML you supply and [Retrieve](https://optiview.ai/developers/retrieve/) acquires supported public webpages. Those developer results are separate from publishing an approved website source.
