Commit 709000c
committed
fix(everything): correct blob resource mimeType
The blobResource() factory in src/everything/resources/templates.ts
returned mimeType "text/plain" for what is, by definition, a base64
blob. The registered Dynamic Blob Resource template at the bottom of
the same file already declared "application/octet-stream", so the
factory contradicted its own template metadata.
Downstream, get-resource-links.ts:74-79 branches on this mimeType to
label resources, so every blob resource_link was being described as
"plaintext resource".
Update the factory to return "application/octet-stream" and the
matching test assertion. No behaviour change beyond the mimeType
itself and the now-correct downstream label.1 parent ce3b44e commit 709000c
2 files changed
Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
83 | 83 | | |
84 | 84 | | |
85 | 85 | | |
86 | | - | |
| 86 | + | |
87 | 87 | | |
88 | 88 | | |
89 | 89 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
105 | 105 | | |
106 | 106 | | |
107 | 107 | | |
108 | | - | |
| 108 | + | |
109 | 109 | | |
110 | 110 | | |
111 | 111 | | |
| |||
0 commit comments