From 8e6edde431fc498b4a27b7f6df0582c963c67576 Mon Sep 17 00:00:00 2001 From: Bogay Date: Tue, 3 Oct 2023 10:23:47 +0800 Subject: [PATCH] fix(url-shorten-app): typo (#156) --- courses/level101/python_web/url-shorten-app.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/courses/level101/python_web/url-shorten-app.md b/courses/level101/python_web/url-shorten-app.md index 6acde9d..058dd0b 100644 --- a/courses/level101/python_web/url-shorten-app.md +++ b/courses/level101/python_web/url-shorten-app.md @@ -23,7 +23,7 @@ Also, choice of hash algorithm matters. We will need to analyze algorithms. Thei Given a URL to shorten, how do we verify if the URL is valid? Do we even verify or validate? One basic check that can be done is see if the URL matches a regex of a URL. To go even further we can try opening/visiting the URL. But there are certain gotchas here. 1. We need to define success criteria. ie: HTTP 200 means it is valid. -2. What is the URL is in private network? +2. What if the URL is in private network? 3. What if URL is temporarily down? ### 4. Storage