Skip to content

changemewtf/MyFirstHTTPServer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

My First HTTP Server

The evolution of a ruby application server that we made ourselves.

Step 1

Just get to the HTTP server equivalent of "Hello, world!".

Step 2

Get some information out of the request.

Step 3

Loop.

Step 4

Figure out how to read a whole GET request.

Step 5

Get browsers to stop bothering us for a favicon.

Step 6

Figure out how to read a whole POST request.

Step 7

Implement the POST/Redirect/GET so visitors can refresh the page after submitting.

Step 8

Handle URL encoding without relying on anything outside of Ruby's standard library.

About

A step-by-step implementation of basic HTTP server-side protocol using ruby's TCPServer.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages