HTTP is the language of the web: a client sends a request with a method, a path and headers, and the server answers with a status code, headers and a body. You do not need a framework to speak it. The standard library has a server, two clients and a URL parser, and all of them run on your own machine for examples. Understanding them makes every web framework easier to follow.
More lessons in Complete Python Programming