Skip to content

willayy/HTTP-server-Py

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

HTTP-server-Py

A small HTTP server in python made for learning purposes

How to use

  1. Clone the repository
  2. Run the server.py file with optional arguments:
    • --port to specify the port number (default is 6666)
    • --host to specify the host (default is localhost)
  3. Use curl (or any other tool) to make requests to the server, for example you can try: curl http://localhost:6666
  4. To stop the server, press Ctrl+C in the terminal where the server is running.

About

A small HTTP server in python made for learning purposes

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages