Skip to Content
Mastering Python for Networking and Security - Second Edition
book

Mastering Python for Networking and Security - Second Edition

by José Manuel Ortega
January 2021
Intermediate to advanced
538 pages
10h 41m
English
Packt Publishing
Content preview from Mastering Python for Networking and Security - Second Edition

Chapter 4: HTTP Programming

This chapter will introduce you to the HTTP protocol and cover how we can retrieve and manipulate web content using Python. We also take a look at the standard urllib library, as well as requests and httpx packages. In addition, we'll look at the third-party requests module, which is a very popular alternative to urllib. It has an elegant interface and a powerful feature set, and it is a great tool for streamlining HTTP workflows. Finally, we will cover HTTP authentication mechanisms and how we can manage them with the requests module.

This chapter will provide us with the foundation to become familiar with different alternatives within Python when we need to use a module that provides different functionality to make ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Mastering Python for Networking and Security

Mastering Python for Networking and Security

José Manuel Ortega
Python for Cybersecurity

Python for Cybersecurity

Howard E. Poston, III

Publisher Resources

ISBN: 9781839217166Supplemental Content