HTTP Requests with HTTPX: Advanced Topics

Jupyter    |    Beginner
  • 15 videos | 1h 37m 27s
  • Includes Assessment
  • Earns a Badge
Rating 4.0 of 6 users Rating 4.0 of 6 users (6)
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

  • 2m 54s
  • 7m 30s
    Find out how to identify the different options available to stream large volumes of data in an HTTP response. FREE ACCESS
  • Locked
    3.  Streaming Large Files
    4m 12s
    Find out how to process large HTTP responses in chunks using HTTPX streams. FREE ACCESS
  • Locked
    4.  Recognizing HTTP Status Codes
    8m 44s
    Upon 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
  • Locked
    5.  Examining HTTP Headers
    7m 58s
    In 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
  • Locked
    6.  Examining Cookies in HTTP Requests
    8m 28s
    After completing this video, you will be able to recognize how cookie information is stored in an HTTP response. FREE ACCESS
  • Locked
    7.  Using an httpx.Cookies Object
    5m 23s
    During this video, you will learn how to configure an httpx.Cookies instance to send a collection of properties to a remote server. FREE ACCESS
  • Locked
    8.  Identifying Redirects
    8m 58s
    In this video, you will learn how to identify when a redirect has occurred after submitting an HTTP request. FREE ACCESS
  • Locked
    9.  Using Timeouts with HTTP Requests
    8m 47s
    During 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
  • Locked
    10.  Recognizing Exception Types with HTTPX Requests
    5m 22s
    Upon 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
  • Locked
    11.  Using HTTPX vs. Requests - GET and POST
    7m 34s
    Find out how to modify a program that uses the Python Requests library for HTTP requests so that it uses HTTPX instead. FREE ACCESS
  • Locked
    12.  Using HTTPX vs. Requests - HEAD, OPTIONS and DELETE
    3m 45s
    Find out how to compare and contrast the Python Requests and HTTPX libraries. FREE ACCESS
  • Locked
    13.  Instigating Sequential Downloads Using HTTPX
    7m 16s
    During this video, you will learn how to download a set of files sequentially using HTTP. FREE ACCESS
  • Locked
    14.  Instigating Asynchronous Downloads Using HTTPX
    8m 25s
    In this video, learn how to use the HTTPX AsyncClient to download a set of files asynchronously. FREE ACCESS
  • 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 on some of our courses, which can be shared on any social network or business platform.

Digital badges are yours to keep, forever.

YOU MIGHT ALSO LIKE

Rating 4.6 of 198 users Rating 4.6 of 198 users (198)
Rating 4.0 of 14 users Rating 4.0 of 14 users (14)
Rating 4.2 of 17 users Rating 4.2 of 17 users (17)

PEOPLE WHO VIEWED THIS ALSO VIEWED THESE

Rating 4.2 of 5 users Rating 4.2 of 5 users (5)
Rating 4.5 of 97 users Rating 4.5 of 97 users (97)
Rating 4.6 of 10 users Rating 4.6 of 10 users (10)