In my previous article, I talked about implementing the HTTP protocol over a standard TCP socket. Today, I will be using few libraries available in python that implements HTTP and try to build something like Flask web framework.
While testing NGINX config files, my curiosity about its comprehension led me to explore the mechanics of HTTP, discovering its simple rules, inspiring me to explain what I learned in a blog post and construct a basic HTTP server from scratch in Python.
Learn how to control the flow of program execution (if…else, loops, etc.), functions, Object-Oriented Programming, different usage and future of the language in the programming world.