aboutsummaryrefslogtreecommitdiffstats
path: root/AGENTS.md
diff options
context:
space:
mode:
Diffstat (limited to 'AGENTS.md')
-rw-r--r--AGENTS.md2
1 files changed, 2 insertions, 0 deletions
diff --git a/AGENTS.md b/AGENTS.md
index 1cc12fd..6d7b355 100644
--- a/AGENTS.md
+++ b/AGENTS.md
@@ -294,6 +294,8 @@ internal/web/ server.go (host router, middleware, render helpers)
is. The bytes are streamed by `BlogStore.FileReader` (a `chunkReader` over
`substring()`, 512 KiB per query, Range requests included), which is why
the per-blog limit is capped at 1024 MB (`maxUploadMB`: int4 offsets).
+ Only a single range is honoured (`singleRangeOnly` drops multi-range
+ headers): ServeContent's multipart answer would cost a query per range.
Ids are immutable, so a renamed file keeps its old download name in
browsers that cached it. Markdown keeps the relative `/media/…` form
because post bodies render on the blog host; `fileMarkdown` writes