tidy-http
v1.0.2
Published
[](https://travis-ci.org/markwylde/tidy-http)  [;
const server = http.createServer((request, response) => {
const tidiedRequest = tidyRequest(request);
console.log(tidiedRequest);
})
/*
{
complete: false,
upgrade: false,
aborted: false,
headers: {
host: 'localhost:8000',
connection: 'close'
},
trailers: {},
url: '/',
method: 'GET',
statusCode: null,
statusMessage: null
}
*/License
This project is licensed under the terms of the MIT license.
