September 2017
Intermediate to advanced
240 pages
5h 57m
English
Now that you’ve created a web server using the Python http.server library you can move to the very final project. You are going to create your own web server from abolute nothing using everything you’ve learned so far. In Exercise 51 you created the majority of the handling that is “above” the http.server module. You didn’t do any network connection handling or HTTP protocol parsing. In this final exercise you will implement all the gear necessary to replicate what http.server does for your lessweb server.
To complete this exercise you’ll want to read about the Python 3 asyncio module (https://docs.python.org/3/library/asyncio.html). This library provides you with tools for handling socket requests, creating ...
Read now
Unlock full access