Download next.js/test/integration/api-support/pages/api/large-chunked-response.js from Devendra174/react-code-dataset: direct link, hf CLI and curl.
- Browser
- Download file 115 Bytes
-
https://huggingface.co/datasets/Devendra174/react-code-dataset/resolve/main/next.js/test/integration/api-support/pages/api/large-chunked-response.js
- Command line
-
hf download hf://datasets/Devendra174/react-code-dataset/next.js/test/integration/api-support/pages/api/large-chunked-response.js
-
curl -L -o large-chunked-response.js https://huggingface.co/datasets/Devendra174/react-code-dataset/resolve/main/next.js/test/integration/api-support/pages/api/large-chunked-response.js
115 Bytes
| export default (req, res) => { | |
| for (let i = 0; i <= 4 * 1024 * 1024; i++) { | |
| res.write('.') | |
| } | |
| res.end() | |
| } | |