Chapter 9. Applications for the Web
In Chapter 2, HTTP and Working with the Web, we explored the HTTP protocol—the primary protocol used by the World Wide Web—and we learned how to use Python as an HTTP client. In Chapter 3, APIs in Action, we expanded on this and looked at ways to consume web APIs. In this chapter, we'll be turning our focus around and looking at how we can use Python to build applications that serve responses to HTTP requests.
In this chapter, we'll cover the following:
- Python web frameworks
- A Python web application
- Hosting Python and WSGI
I should note up front that hosting modern web applications is a very large topic, and a complete treatment is well beyond the scope of this book, where we're focusing on applying Python code to ...
Get Learning Python Network Programming now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.