From 1a010ac4689edc44002eeeb14333adf585d8444c Mon Sep 17 00:00:00 2001 From: Arpit Roopchandani <17565234+whoisarpit@users.noreply.github.com> Date: Mon, 30 Jun 2025 16:45:09 +0800 Subject: [PATCH] fix: Replace HTTP with HTTPS to secure network communication - Changed URL from 'http://example.com' to 'https://example.com' - Fixes security vulnerability where unencrypted HTTP requests could expose sensitive information - Ensures all network communication is encrypted --- main.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main.py b/main.py index 468f8c0..3b2d819 100644 --- a/main.py +++ b/main.py @@ -13,7 +13,7 @@ def func_calls(): 'http': 'http://test:pass@localhost:8080', 'https': 'http://test:pass@localhost:8090', } - url = 'http://example.com' # Replace with a valid URL + url = 'https://example.com' # Replace with a valid URL req = requests.Request('GET', url) prep = req.prepare() session.rebuild_proxies(prep, proxies)