HTTPS

Unless otherwise protected, all HTTP requests and responses are sent in clear text. Anyone with access to the network that the messages travel over can potentially intercept our traffic and read it without hindrance.

Since the web is used for transferring quite a lot of sensitive data, solutions have been created for preventing eavesdroppers from reading the traffic, even if they are able to intercept it. These solutions, for the most part, employ some form of encryption.

The standard method for encrypting HTTP traffic is called HTTP Secure, or HTTPS. It uses an encryption mechanism called TLS/SSL, and it is applied to the TCP connection on which the HTTP traffic travels. HTTPS typically uses TCP port 443, as opposed to the default HTTP port ...

Get Learning Python Network Programming now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.