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
-
1.Course Overview2m 54sUP NEXT
-
2.Streaming Responses7m 30s
-
3.Streaming Large Files4m 12s
-
4.Recognizing HTTP Status Codes8m 44s
-
5.Examining HTTP Headers7m 58s
-
6.Examining Cookies in HTTP Requests8m 28s
-
7.Using an httpx.Cookies Object5m 23s
-
8.Identifying Redirects8m 58s
-
9.Using Timeouts with HTTP Requests8m 47s
-
10.Recognizing Exception Types with HTTPX Requests5m 22s
-
11.Using HTTPX vs. Requests - GET and POST7m 34s
-
12.Using HTTPX vs. Requests - HEAD, OPTIONS and DELETE3m 45s
-
13.Instigating Sequential Downloads Using HTTPX7m 16s
-
14.Instigating Asynchronous Downloads Using HTTPX8m 25s
-
15.Course Summary2m 11s
EARN A DIGITAL BADGE WHEN YOU COMPLETE THIS COURSE
Skillsoft is providing you the opportunity to earn a digital badge upon successful completion of this course, which can be shared on any social network or business platform
Digital badges are yours to keep, forever.