From 572e4235fb40e86dcecc42ad223467a263227698 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marcel=20St=C3=B6r?= Date: Sat, 22 Apr 2017 22:57:37 +0200 Subject: [PATCH] Unwind bit.ly link --- docs/en/modules/net.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/en/modules/net.md b/docs/en/modules/net.md index 6184b210..e2586899 100644 --- a/docs/en/modules/net.md +++ b/docs/en/modules/net.md @@ -322,7 +322,7 @@ srv:on("receive", function(sck, c) print(c) end) srv:on("connection", function(sck, c) -- 'Connection: close' rather than 'Connection: keep-alive' to have server -- initiate a close of the connection after final response (frees memory - -- earlier here), http://bit.ly/2pkOrsi + -- earlier here), https://tools.ietf.org/html/rfc7230#section-6.6 sck:send("GET /get HTTP/1.1\r\nHost: httpbin.org\r\nConnection: close\r\nAccept: */*\r\n\r\n") end) srv:connect(80,"httpbin.org")