first commit
This commit is contained in:
11
build/node_modules/parse-headers/example.js
generated
vendored
Normal file
11
build/node_modules/parse-headers/example.js
generated
vendored
Normal file
@@ -0,0 +1,11 @@
|
||||
var parse = require('./parse-headers')
|
||||
|
||||
, headers = [
|
||||
'Date: Sun, 17 Aug 2014 16:24:52 GMT'
|
||||
, 'Content-Type: text/html; charset=utf-8'
|
||||
, 'Transfer-Encoding: chunked'
|
||||
, 'X-Custom-Header: beep'
|
||||
, 'X-Custom-Header: boop'
|
||||
].join('\n')
|
||||
|
||||
console.log(parse(headers))
|
||||
Reference in New Issue
Block a user