This is a simple website powered by Operator. It's just a few static files. The source is on GitHub.
This particular file is just boring old HTML. It's served as-is, hopefully the way you'd expect.
Operator can tell that this is meant to be HTML (and sets the
Content-Type
header to text/html
) because
the file has .html
as its extension. If you want examples of
other media types, here's some plain text
and an image.
If you're looking for something a little more interesting, check out this fancier demo.
Accept
header. If multiple content files coexist whose
paths only differ by extension, they act as alternative representations
for the same resource. "Negotiation" means that Operator automatically
picks whichever one best fits the requester's preferences. For example,
depending on whether your browser prefers image/png
or
image/webp
, you'll see a different image here: