A download has a different filename: what should you record?

Your research notes link to a document ending in /download/417, but the file on disk has a descriptive name. That difference alone does not establish that the document changed. Keep the address you requested, the response’s suggested name and the name actually saved as separate observations. Overwriting one with another makes a later handover harder to audit.

One paper folder connected to three blank tags on a navy surface
Conceptual illustration generated with ImageGen: several labels can refer to one saved object; this is not a captured download.

Where a suggested name enters the record

An HTTP response can supply a Content-Disposition header. Its filename and filename* parameters suggest a name; when both are present and understood, the extended form takes precedence. These are advisory names, not trusted storage paths. RFC 6266, section 4.3 defines that behavior.

The browser’s outcome still needs observation. A save dialog, local filesystem rules or download behavior can affect it; a header is not a promise that every browser saves exactly that string. MDN’s Content-Disposition reference, updated 12 October 2026, describes browser and filesystem considerations.

A four-name worksheet

Invented teaching example: imagine a response from https://records.example/download/417 with these headers. The reserved example address is not a live archive, and the response below is a fixture, not an observed server result.

Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment; filename="harbour-note.txt"; filename*=UTF-8''harbour%20note%20%E2%80%93%20annex.txt
Name fieldValue in this exerciseWhat it records
URL tail417A part of the retrieval address
Fallbackharbour-note.txtThe ordinary filename parameter
Extendedharbour note – annex.txtThe decoded filename* value
Saved locallysource-417.txtA name deliberately chosen by the researcher in this exercise

The final row is a stated choice, not a browser test result. The two header parameters do not describe two attachments. Nor does 417 reveal a physical filename on the server. A useful worksheet keeps all four fields instead of choosing a single supposedly “real” name.

Decode the extended value without losing the original

The extended syntax identifies a character set, an optional language field and an encoded value. Here the language field is empty. Percent escapes represent bytes which must then be decoded as UTF-8. The header encoding is specified in RFC 8187, section 3.2.1.

This small Python exercise decodes only the value portion of our fixed fixture. It does not parse arbitrary response headers:

from urllib.parse import unquote_to_bytes

encoded = "harbour%20note%20%E2%80%93%20annex.txt"
name = unquote_to_bytes(encoded).decode("utf-8")
assert name == "harbour note – annex.txt"

Keep both the raw parameter and the decoded display value. Do not apply this operation indiscriminately to an ordinary filename string, or treat a plus sign as a form-encoded space. A copying or decoding error should remain distinguishable from what the source actually sent.

Collect the evidence at download time

  1. Capture the route. Record the requested URL and the final response URL if redirects occurred, alongside an actual UTC observation time. Avoid putting access tokens from private URLs in a public report.
  2. Capture the response. If available, copy the relevant response headers from the browser’s Network panel for that download. Identify the response that delivered the document, rather than a redirect or the page containing the link. Record the browser and version used.
  3. Capture the saved object. Record its actual filename, byte size and any later rename you perform. For byte identity, use the separate SHA-256 file comparison workflow; a name comparison cannot substitute for it.
  4. State gaps. If the original headers were not retained, write “not captured.” Fetching the address again supplies a new observation, not proof of the earlier response.

For the fixture, a defensible note would say: “The supplied example header suggests the extended name shown above; the researcher stores the object as source-417.txt.” In a real case, replace those teaching statements with what you captured. Do not add an invented timestamp, hash or browser result.

Keep a filename’s claims in proportion

A label containing “approved,” a year or an organization’s name is still a label. It does not establish approval, publication date or authorship. Likewise, a changed suggested filename is a lead to compare the saved objects, not a sufficient basis for announcing a document revision.

Preserve suspicious names as evidence text rather than executing them as paths. RFC 6266 treats directory components and filename extensions as untrusted; an extension alone does not validate a file’s content. If the download itself may be incomplete, follow the partial-response check before interpreting its contents.

At handover, attach the four-name worksheet to your source entry. A colleague should be able to connect the downloaded object to the captured response without guessing which filename you silently replaced.

Author: OSINT Jet · Primary sources reviewed 27 November 2026