Z User
phase7: MCP stdio smoke test (handshake + tools/list + get_roots 6:74) — 4/4 tests PASS
54a6341 Download node_modules/hono/dist/helper/streaming/text.js from bravesigma/quran-md-plugin: direct link, hf CLI and curl.
- Browser
- Download file 366 Bytes
-
https://huggingface.co/datasets/bravesigma/quran-md-plugin/resolve/main/node_modules/hono/dist/helper/streaming/text.js
- Command line
-
hf download hf://datasets/bravesigma/quran-md-plugin/node_modules/hono/dist/helper/streaming/text.js
-
curl -L -o text.js https://huggingface.co/datasets/bravesigma/quran-md-plugin/resolve/main/node_modules/hono/dist/helper/streaming/text.js
366 Bytes
| import { TEXT_PLAIN } from "../../context.js"; | |
| import { stream } from "./stream.js"; | |
| //#region src/helper/streaming/text.ts | |
| const streamText = (c, cb, onError) => { | |
| c.header("Content-Type", TEXT_PLAIN); | |
| c.header("X-Content-Type-Options", "nosniff"); | |
| c.header("Transfer-Encoding", "chunked"); | |
| return stream(c, cb, onError); | |
| }; | |
| //#endregion | |
| export { streamText }; | |