Articles in this series
This series guide covers the very basics of Web and the building blocks of a Web server. If you have ever wondered on how a Web server works and have a basic knowledge of Ruby, this guide is for you. Essentially, the main elementary units of a web s...
In the previous article, we learned the very basics of networking and how to write a simple TCP server in Ruby. Here, we'll see a simple implementation of an HTTP server in Ruby. Dynamic response As of our example, the TCP server responds with a stat...
Now that we have an HTTP server sending plain text content, it's time to enhance the server so it can respond in a more appropriate content type for Web browsers. Web standards In the very beginning of Web, websites did not follow a standard, besides...