From a0932af3d7a93dabb292944cc1faf7f0769e69e1 Mon Sep 17 00:00:00 2001 From: Fiona Tay Date: Thu, 29 Sep 2016 22:51:54 -0700 Subject: [PATCH] Correct typo i before e except after c :D --- .../HTTP/clients/how-to-create-a-HTTP-request/content.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pages/articles/HTTP/clients/how-to-create-a-HTTP-request/content.md b/pages/articles/HTTP/clients/how-to-create-a-HTTP-request/content.md index b7ca79d..93b3ffc 100644 --- a/pages/articles/HTTP/clients/how-to-create-a-HTTP-request/content.md +++ b/pages/articles/HTTP/clients/how-to-create-a-HTTP-request/content.md @@ -14,12 +14,12 @@ As an example, we are going to preform a GET request to [www.random.org/integers callback = function(response) { var str = ''; - //another chunk of data has been recieved, so append it to `str` + //another chunk of data has been received, so append it to `str` response.on('data', function (chunk) { str += chunk; }); - //the whole response has been recieved, so we just print it out here + //the whole response has been received, so we just print it out here response.on('end', function () { console.log(str); });