Skip to content

Instantly share code, notes, and snippets.

@heapwolf heapwolf/42.js
Created Aug 7, 2012

What would you like to do?
var inspect = require('util').inspect;
require('http').createServer(function(req, res) {
res.writeHead(200, {'Content-Type': 'text/plain'});
var inspected = {
'url': req.url,
'method': req.method,
'headers': req.headers
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.