What is HTTPS?
HTTP carried over TLS, so the network in between cannot read or alter it
Reviewed by Abhijith N M · 24 October 2026 · Editorial standards
HTTPS is ordinary HTTP sent over a TLS connection. Before the first request, your browser and the server agree on keys and verify the server's certificate. From then on, every request and response is encrypted and integrity-checked. The padlock means the certificate chain validated and the connection is encrypted. It does not mean the site is honest or safe; a phishing site can buy a certificate too.
What is HTTPS? — Visual Breakdown
# Check if a URL uses HTTPS
import urllib.parse
url = "https://nexgencoders.com"
parsed = urllib.parse.urlparse(url)
print(parsed.scheme) # 'https'
print(parsed.netloc) # 'nexgencoders.com'
# Default HTTPS port
HTTPS_PORT = 443Quick Concept Check
Test your understanding in 15 seconds
Which port does HTTPS use by default?
Related Concepts
Want hands-on practice building this end-to-end?
Check out the full structured learning path with guided projects and code evaluations.
Written and edited by the nexGenCoders team. Spotted a mistake? Tell us and we will fix it.