Join us and get access to thousands of tutorials and a community of expert Pythonistas.

Unlock This Lesson

This lesson is for members only. Join us and get access to thousands of tutorials and a community of expert Pythonistas.

Unlock This Lesson

Hint: You can adjust the default video playback speed in your account settings.
Hint: You can set your subtitle preferences in your account settings.
Sorry! Looks like there’s an issue with video playback 🙁 This might be due to a temporary outage or because of a configuration issue with your browser. Please see our video player troubleshooting guide to resolve the issue.

HTTP Requests With Python's urllib.request (Summary)

You are now fully equipped to use urllib.request for making HTTP requests. With this built-in module, you can keep your projects free from dependencies. Plus, by using a lower-level module like urllib.request, you’ve gained a comprehensive understanding of how HTTP works.

In this video course, you’ve:

  • Learned the process of making basic HTTP requests with urllib.request
  • Explored the intricacies of an HTTP message and its representation in urllib.request
  • Gotten the skills to handle character encodings in HTTP messages
  • Explored some common obstacles that arise when using urllib.request and discovered strategies to resolve them

Now, you’re ready to make basic HTTP requests using urllib.request, and you have the necessary tools to dive deeper into the intricacies of low-level HTTP functionality using the standard library. You now have the flexibility to choose between requests and urllib.request based on your preferences and requirements. So go ahead and have a great time exploring the vast landscape of the Web!

To move beyond the standard library, check out:

Download

Sample Code (.zip)

278 bytes
Download

Course Slides (.pdf)

898.7 KB

Become a Member to join the conversation.