HTTP protocol and building HTTP clients in python

In this section, we are going to introduce the HTTP protocol and how we can build HTTP clients with httplib. HTTP is an application-layer protocol that basically consists of two elements: a request made by the client, which requests from the server a specific resource specified by a URL, and a response, sent by the server, that supplies the resource that the client requested.

Get Mastering Python for Networking and Security 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.