HTTP Programming and Web Authentication
This chapter introduces the
requests modules for making requests and retrieving web resources. The third-party
requests module is a very popular alternative to the
urllib module; it has an elegant interface and a powerful feature set, and it is a great tool for streamlining HTTP workflows. Also, we cover HTTP authentication mechanisms and how we can manage them with the
requests module. Finally, we cover how to implement OAuth clients and JWT for token generation in web applications with the
This chapter will provide us with the foundation to become familiar with different alternatives within Python when we need to use a module that provides different functionality ...