Skip to content

Simple HTTP server backed by nothing more than a couple of dictionaries

Notifications You must be signed in to change notification settings

boppreh/simpleserver

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 

Repository files navigation

simpleserver

One liner HTTP server.

serve('It works!', port=8080)

$ curl localhost:8080
It works!


serve({'a': {'b': {'c': 'This is /a/b/c'}}}, port=8080)

$ curl localhost:8080/a/b/c
This is /a/b/c

About

Simple HTTP server backed by nothing more than a couple of dictionaries

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages