ABSTRACT

This chapter focuses on web servers where documents are placed and on software to publish or serve them over the network. The term web server can refer to hardware or software, or both of them working together, for serving content over the internet. On the hardware side, a web server is a computer that stores a website’s component files. Hypertext Transfer Protocol (HTTP) is a protocol specifying the way that communication between the client and the server takes place. The HTTP protocol defines several methods, or verbs, to indicate the desired action on the requested resource on the server. Web servers can be divided in two general categories: static web servers and dynamic web servers. Python’s HTTP server is simple enough to start working with, but there are other difficulties if users are intend to use it for production, i.e., in real-life scenarios, where stability is essential.