HTTP Requests with HTTPX: Advanced Topics
Jupyter
| Beginner
- 15 videos | 1h 37m 27s
- Includes Assessment
- Earns a Badge
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. You'll start by looking at HTTPX streams, which allow the processing of large responses in chunks to reduce the load on memory resources. You'll then examine the HTTP response content that can determine how our application's subsequent actions are defined, including HTTP status codes, HTTP headers, and cookie usage. Next, you'll 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, you'll focus on an essential feature of HTTPX - sending and asynchronously processing HTTP requests, which can significantly improve app performance.
WHAT YOU WILL LEARN
-
Discover the key concepts covered in this courseIdentify the different options available to stream large volumes of data in an http responseProcess large http responses in chunks using httpx streamsRecognize the messages conveyed in the different status codes sent in an http responseObtain information about a remote service by examining the data in the headers returned in an http responseRecognize how cookie information is stored in an http responseConfigure an httpx.cookies instance to send a collection of properties to a remote serverIdentify when a redirect has taken place upon submitting an http request
-
Limit the amount of time your app spends waiting to get served a response to an http request using timeoutsRecognize the types of exceptions that can be encountered when sending and processing requests with httpxModify a program that uses the python requests library for http requests so that it uses httpx insteadCompare and contrast the python requests and httpx librariesDownload a set of files sequentially using httpxUse the httpx asynclient to download a set of files asynchronouslySummarize the key concepts covered in this course
IN THIS COURSE
-
2m 54s
-
7m 30sFind out how to identify the different options available to stream large volumes of data in an HTTP response. FREE ACCESS
-
4m 12sFind out how to process large HTTP responses in chunks using HTTPX streams. FREE ACCESS
-
8m 44sUpon completion of this video, you will be able to recognize the messages conveyed in the different status codes sent in an HTTP response. FREE ACCESS
-
7m 58sIn this video, you will learn how to obtain information about a remote service by examining the data in the headers returned in an HTTP response. FREE ACCESS
-
8m 28sAfter completing this video, you will be able to recognize how cookie information is stored in an HTTP response. FREE ACCESS
-
5m 23sDuring this video, you will learn how to configure an httpx.Cookies instance to send a collection of properties to a remote server. FREE ACCESS
-
8m 58sIn this video, you will learn how to identify when a redirect has occurred after submitting an HTTP request. FREE ACCESS
-
8m 47sDuring this video, you will learn how to limit the amount of time your app spends waiting to get a response to an HTTP request using timeouts. FREE ACCESS
-
5m 22sUpon completion of this video, you will be able to recognize the types of exceptions that can be encountered when sending and processing requests with HTTPX. FREE ACCESS
-
7m 34sFind out how to modify a program that uses the Python Requests library for HTTP requests so that it uses HTTPX instead. FREE ACCESS
-
3m 45sFind out how to compare and contrast the Python Requests and HTTPX libraries. FREE ACCESS
-
7m 16sDuring this video, you will learn how to download a set of files sequentially using HTTP. FREE ACCESS
-
8m 25sIn this video, learn how to use the HTTPX AsyncClient to download a set of files asynchronously. FREE ACCESS
-
2m 11s
EARN A DIGITAL BADGE WHEN YOU COMPLETE THIS COURSE
Skillsoft is providing you the opportunity to earn a digital badge upon successful completion on some of our courses, which can be shared on any social network or business platform.
Digital badges are yours to keep, forever.