Skip to content

boppreh/simpleserver

master
Switch branches/tags
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 

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