Repository navigation
Commit b31510a
[Agent: Claude] docs(patch): document HEAD-304 large-file divergence + align legacy PATCH 204 headers with lwsEnabled (review findings 2, 3)
- finding 2 (comment only, no behavior change): the conversionPending
HEAD re-check in handleHead can 304 where a real GET would 406 for RDF
files > HEAD_FULL_READ_MAX_BYTES, because negotiateHeadFileContentType
already resolves those optimistically (skips the checkServable probe).
Documented as the same JavaScriptSolidServer#13.2.2 divergence budget the neighboring
large-file comments already describe — HEAD-only, GET still 406s with
no ETag, corrupt >1 MiB RDF is the rare case this budget accepts
- finding 3: the legacy JSON-LD PATCH 204 arm (handlePatch) now passes
lwsEnabled to getAllHeaders, matching patchTurtleFamilyResource's 204 —
a --lws pod's .jsonld PATCH 204 now carries the same LWS Link/
Accept-Patch headers a .ttl PATCH 204 already sends. Verified
byte-identical for --lws-off (every lwsEnabled branch in
getAllHeaders/getResponseHeaders is a truthy check, so passing
request.lwsEnabled when it's false/undefined is identical to the
omitted-argument default)
Co-Authored-By: Claude Opus 4.8 <[email protected]>1 parent af2c4df commit b31510a
1 file changed
Lines changed: 16 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1774 | 1774 | | |
1775 | 1775 | | |
1776 | 1776 | | |
| 1777 | + | |
| 1778 | + | |
| 1779 | + | |
| 1780 | + | |
| 1781 | + | |
| 1782 | + | |
| 1783 | + | |
| 1784 | + | |
1777 | 1785 | | |
1778 | 1786 | | |
1779 | 1787 | | |
| |||
2560 | 2568 | | |
2561 | 2569 | | |
2562 | 2570 | | |
2563 | | - | |
| 2571 | + | |
| 2572 | + | |
| 2573 | + | |
| 2574 | + | |
| 2575 | + | |
| 2576 | + | |
| 2577 | + | |
| 2578 | + | |
2564 | 2579 | | |
2565 | 2580 | | |
2566 | 2581 | | |
| |||
0 commit comments