In this series of article about python and HTTP protocol, we work with HTTP requests and responses. In the first article we explore standard library functions such as urllib.request.urlopen
or urllib.request.urlretrieve
. In the second part we focus on the external "requests" library, which let us perform complex operations, writing less code.
This is a companion discussion topic for the original entry at https://linuxconfig.org/how-to-perform-http-requests-with-python