diff options
author | 2023-09-10 14:06:25 +0200 | |
---|---|---|
committer | 2023-09-10 05:06:25 -0700 | |
commit | d48ff53e4ec4cb49172e0e96ca9890446f971a0e (patch) | |
tree | 45d9be8b7c0a80b27a756eb518773f2c92600e99 | |
parent | afcbed218c425872648b7c0aa2ce331ad3b0d612 (diff) | |
download | bun-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.md | 2 |
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"); |