August 2018
Intermediate to advanced
366 pages
10h 14m
English
Making HTTP requests can be very simple for simple cases and very complicated for more complex cases. Perfectly handling the HTTP protocol can be a long and complex job, especially since the protocol specifications themselves are not always clear in enforcing how things should work and a lot comes from experience of how real existing web servers and clients work.
For this reason, if you have needs that go further than just fetching simple endpoints, you might want to rely on a third-party library for performing HTTP requests, such as the requests library that is available for nearly all Python environments.