Skip to main content
Skip to content
Technology

An HTTP 304 Is Not a New Evidence Review: A Reproducible Timestamp Fixture

Five local HTTP exchanges and nine passing checks show how to separate source checks, body retrieval and factual review without renewing old evidence.

Two clocks beside a sealed evidence folder and its reflection.
Reading options: audio, text size & sections

The decision: An HTTP 304 response can support reusing a stored representation. It should not move the date on which someone substantively reviewed a claim. Keep collection checks, body retrieval and factual review as separate events, and retain the representation associated with each review.

What DN ran: A local Python fixture made five actual HTTP exchanges with a server bound to the same computer. Nine checks passed. The bodies, example limit and reviewer event were synthetic; no external site was requested and no provider claim was verified. The execution record is dated 2026-12-01T17:37:28.530632+00:00 with Python 3.12.14. Scenario times below are fixed teaching inputs, not the actual run time.

The misleading “checked today” badge

Imagine a hypothetical research collector that checks a pricing or API-documentation page each morning. It receives an unchanged response and updates one field called “last verified.” A reader can now mistake a successful collection check for a fresh examination of the price, product scope or recommendation. The page may be byte-identical while the reader’s account, relevant policy or dependent evidence has changed.

The practical fix is an event distinction. DN’s evidence-expiry guide explains which changed dependencies should trigger another review. This fixture supplies the narrower transport-to-record rule: a collector does not create a semantic review merely by receiving a response.

What HTTP establishes, and what the evidence policy adds

RFC 9110’s 304 definition concerns a conditional request and a stored representation; the response has no content. Its If-None-Match rules allow weak comparison, so a generic 304 is not a universal byte-identity claim. RFC 9111 sets the cache rules for selecting and updating stored responses. Neither standard performs a factual review of the source.

Our teaching collector is intentionally narrower than a general cache: one representation variant, one existing representation record identified by its digest and ETag, and an exact strong ETag match. It refuses unsupported weak or mismatched validators. That refusal is this fixture’s policy, not a claim that weak validators or every other cache arrangement are invalid HTTP.

The record has five separate responsibilities

Teaching fields; these are not a claim about every deployed DN record
FieldMeaning in this fixtureWhat it cannot establish
attempted_atThe collector attempted this request.That the source was reachable or a useful representation was received.
fetched_atThe latest accepted response body was retrieved.That a reviewer reconsidered any claim.
source_checked_atA body was accepted, or the existing representation record passed this narrow revalidation rule.That the claim remains correct for the reader’s use case.
semantic_reviewed_atThe separate, explicitly recorded reviewer event.That later representations or other dependencies were reviewed.
reviewed_representation_sha256The body version associated with that reviewer event.Truth, completeness, provenance of the reviewer or live operational behavior.

The fixture also computes whether the historic review’s representation hash matches the current representation hash. That flag means “the same reviewed body,” not “all dependencies remain valid.” Review purpose, source scope and dependency changes still need their own rules.

The five exchanges and their resulting dates

The first body contains a synthetic example limit of 10. At 09:05 a synthetic reviewer event attaches a review to that body. The later body changes the example to 12. These numbers exercise the record transition; they are not a real service’s limits.

Synthetic scenario on 1 December 2026; actual loopback responses recorded separately
Synthetic event (UTC)Body fetchedSource checkedSemantic reviewCollection dispositionReview matches body
09:00 — first 20009:00:0009:00:00Nonebody receivedNo
09:30 — unchanged 30409:00:0009:30:0009:05:00stored representation revalidatedYes
10:00 — changed 20010:00:0010:00:0009:05:00body receivedNo
10:30 — server 50010:00:0010:00:0009:05:00fetch failedNo
10:35 — orphan 304NoneNoneNoneunusable 304No

At 09:30 the prior representation record is retained. Its body-fetch date remains 09:00 and its review date remains 09:05; only the collection-check date advances. At 10:00 the new body gets a new hash. The old review remains in history, but its applicability to the current body becomes false. Deleting the historic review would lose useful provenance; presenting it as a review of the new body would overstate the evidence.

The 10:30 failure advances the attempt time only. The final negative case injects a 304 into an empty collector record. It is deliberately unusable: there is no stored representation to reuse, so it does not create a successful source-check date. This final response is an injected failure case, not an example of a well-formed normal conditional exchange. The fixture models collection and review metadata: it records body digests but does not implement persistent body storage or cached-body delivery.

What the nine checks establish

The checks cover initial retrieval without an invented review, the empty 304 body, preservation of retrieval and review dates, advancement of the collection date, changed-body review applicability, failed-fetch handling, an orphan 304, an unsupported weak validator and a mismatched validator. Seven checks use the five recorded HTTP exchanges; two validator cases are additional local policy inputs. The total is nine assertions, not nine independent provider trials.

The successful run establishes that the supplied program behaved as asserted for these inputs. It does not demonstrate robustness for redirects, multiple Vary variants, authentication changes, weak-validator equivalence, concurrent updates, corrupted local storage or all possible response codes. Those are explicit extensions for a production collector, not results claimed here.

Attach the result to a decision without renewing the claim

Display two human labels when both events matter: “source checked” and “claim reviewed.” If a request fails, say so while retaining the prior successful check. If the body changes, preserve the historic review and queue the affected claim for review. If the body stays the same, apply the existing review-expiry and dependency rules; sameness alone cannot justify a new review date.

DN’s existing evidence records already distinguish a claim’s reviewedAt from publication metadata. The fixture’s additional collection fields are a teaching schema for a collector integration. They should be mapped deliberately into that infrastructure, not treated as fields already present in every historical receipt. The citation freshness guide explains the broader review question, and Decision Briefs retains a scoped evidence record for a choice.

Download and reproduce

Download the complete observed fixture result or the reproduction pack. Extract the pack and run python fixture.py using Python 3. The script uses the standard library, binds only to 127.0.0.1, chooses an available local port and writes results.json. It makes no external network requests. A rerun changes the execution timestamp while retaining the fixed scenario inputs.

The pack includes methodology, standards references and checksums. The fixture and synthetic output are original DN work under CC BY 4.0. The standards remain under their own terms. Recheck this teaching policy if its record model or accepted validator contract changes; never describe its successful rerun as re-verification of a live provider claim.

Frequently asked questions

Does a 304 mean the factual claim is still correct?

No. It concerns reuse of a stored representation under HTTP rules. The claim’s meaning, scope and dependencies still require their own review policy.

Why does the fixture reject weak ETags?

This deliberately narrow teaching client accepts one exact strong ETag for one variant. That local policy is stricter than general HTTP caching and does not mean weak validators are invalid.

Did this test reverify any exchange or broker documentation?

No. All response bodies and the reviewer event were synthetic. Five HTTP exchanges occurred only against the local loopback server; there were no external requests.

Corrections and commercial disclosure

To request a correction, use the DN contact page and include this article’s URL, the affected record ID and a dated primary source. Corrections should identify the changed claim and preserve the earlier evidence version. The free evidence pack contains the method and limitations.

This article contains no affiliate links. The optional DN Research Desk offers a scoped research service; a paid engagement does not purchase a favorable conclusion, runtime certification or permission to transact. Start with the free records before commissioning a deeper review.

Get the most talked about stories directly in your inbox

Join the Decentralised News briefing for independent crypto, DeFi and AI analysis. No spam, unsubscribe anytime.