Skip to content

andreip/HTTP-Server

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 

Repository files navigation

Basic HTTP server.

Supports:
	* GET method

How to config:
	* clone the repo
	* install ruby 1.9.x
	* From a CLI terminal, give the following command:
		$ ruby httpd.rb
	* Then from another terminal / tab, give
		$ telnet localhost 6000
	  ** 6000 is the port the server is listening

How to use:
	* Query examples:
		GET README
		GET /test/FAQ
		GET test
	* To exit, write two empty lines (press 'Enter' two times)

TODO:
	* add support for other methods

About

Simple HTTP server, with basic functionality.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages