Skip to content

scripting/http

master
Switch branches/tags
Code

Latest commit

 

Git stats

Files

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

The basics of an HTTP server

This code was showing up all over the place. Handle an HTTP request with logging. A few other amenities. Rather than do a crappy job over and over, I decided to do a good job once, then reuse the result. There's still more work to do, but it's useful right now as-is.

Dave Winer

Updates

10/23/20 by DW

Added a call to console.trace when there's an error in handling an HTTP request. Without it, it's hard to tell where the errant code was.

About

The heart of a Node-based web server to be included in other apps. I got tired of writing the same code over and over.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published