aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar Tom Sherman <the.tomsherman@gmail.com> 2023-09-10 14:06:25 +0200
committerGravatar GitHub <noreply@github.com> 2023-09-10 05:06:25 -0700
commitd48ff53e4ec4cb49172e0e96ca9890446f971a0e (patch)
tree45d9be8b7c0a80b27a756eb518773f2c92600e99
parentafcbed218c425872648b7c0aa2ce331ad3b0d612 (diff)
downloadbun-d48ff53e4ec4cb49172e0e96ca9890446f971a0e.tar.gz
bun-d48ff53e4ec4cb49172e0e96ca9890446f971a0e.tar.zst
bun-d48ff53e4ec4cb49172e0e96ca9890446f971a0e.zip
docs: Update Bun.write(path, Response) example to be clear that it writes the body (#4802)
-rw-r--r--docs/api/file-io.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/api/file-io.md b/docs/api/file-io.md
index e141c8b17..e6902cc6a 100644
--- a/docs/api/file-io.md
+++ b/docs/api/file-io.md
@@ -195,7 +195,7 @@ const input = Bun.file("input.txt");
await Bun.write(Bun.stdout, input);
```
-To write an HTTP response to disk:
+To write the body of an HTTP response to disk:
```ts
const response = await fetch("https://bun.sh");