HTTP Requests with HTTPX: Advanced Topics

Jupyter    |    Beginner
  • 15 Videos | 1h 43m 57s
  • 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 course
    identify the different options available to stream large volumes of data in an HTTP response
    process large HTTP responses in chunks using HTTPX streams
    recognize the messages conveyed in the different status codes sent in an HTTP response
    obtain information about a remote service by examining the data in the headers returned in an HTTP response
    recognize how cookie information is stored in an HTTP response
    configure an httpx.Cookies instance to send a collection of properties to a remote server
    identify 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 timeouts
    recognize the types of exceptions that can be encountered when sending and processing requests with HTTPX
    modify a program that uses the Python Requests library for HTTP requests so that it uses HTTPX instead
    compare and contrast the Python Requests and HTTPX libraries
    download a set of files sequentially using HTTPX
    use the HTTPX AsynClient to download a set of files asynchronously
    summarize the key concepts covered in this course

IN THIS COURSE

  • Playable
    1. 
    Course Overview
    2m 54s
    UP NEXT
  • Playable
    2. 
    Streaming Responses
    7m 30s
  • Locked
    3. 
    Streaming Large Files
    4m 12s
  • Locked
    4. 
    Recognizing HTTP Status Codes
    8m 44s
  • Locked
    5. 
    Examining HTTP Headers
    7m 58s
  • Locked
    6. 
    Examining Cookies in HTTP Requests
    8m 28s
  • Locked
    7. 
    Using an httpx.Cookies Object
    5m 23s
  • Locked
    8. 
    Identifying Redirects
    8m 58s
  • Locked
    9. 
    Using Timeouts with HTTP Requests
    8m 47s
  • Locked
    10. 
    Recognizing Exception Types with HTTPX Requests
    5m 22s
  • Locked
    11. 
    Using HTTPX vs. Requests - GET and POST
    7m 34s
  • Locked
    12. 
    Using HTTPX vs. Requests - HEAD, OPTIONS and DELETE
    3m 45s
  • Locked
    13. 
    Instigating Sequential Downloads Using HTTPX
    7m 16s
  • Locked
    14. 
    Instigating Asynchronous Downloads Using HTTPX
    8m 25s
  • Locked
    15. 
    Course Summary
    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 of this course, which can be shared on any social network or business platform

Digital badges are yours to keep, forever.

YOU MIGHT ALSO LIKE