Skip to content

Commit de7fe07

Browse files
Update src/content/docs/workers/runtime-apis/nodejs/http.mdx
Co-authored-by: Dario Piotrowicz <[email protected]>
1 parent 90cbe94 commit de7fe07

File tree

1 file changed

+1
-1
lines changed
  • src/content/docs/workers/runtime-apis/nodejs

1 file changed

+1
-1
lines changed

src/content/docs/workers/runtime-apis/nodejs/http.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ import { get } from 'node:http';
3232
import { strictEqual, ok } from 'node:assert';
3333

3434
get('http://docs.cloudflare.com/robots.txt', (res) => {
35-
// http://docs.cloudflare.com redirects to https url.
35+
// requests to http://docs.cloudflare.com get redirected to their https counterpart.
3636
strictEqual(res.statusCode, 301);
3737
let data = '';
3838
res.setEncoding('utf8');

0 commit comments

Comments
 (0)