HTTP Requests with HTTPX: Advanced Topics
Various HTTPX features are used to optimize the processing of HTTP requests. This course introduces you to some advanced techniques that use HTTPX to send and process HTTP requests. Youll start by looking at HTTPX streams which allow the processing of large responses in chunks to reduce the load on memory resources. Youll then examine the HTTP response content that can determine how our applications subsequent actions are defined including HTTP status codes HTTP headers and cookie usage. Next youll configure requests to handle redirects on the server side set timeout values to prevent long waits due to network or server issues and touch upon the compatibility of the Python Requests library with HTTPX. Finally youll focus on an essential feature of HTTPX – sending and asynchronously processing HTTP requests which can significantly improve app performance.