0.2.2 • Published 5 years ago

http-700 v0.2.2

Weekly downloads
1
License
MIT
Repository
github
Last release
5 years ago

HTTP 700

Based on this fantastic RFC proposal. Intended for use with express.

Example usage

A basic usage example.

const express = require('express');
const http700 = require('http-700');
const app = express();
const port = 3000;

app.get('/', (req, res) => {
  http700.setFor(res, 701);
  res.send('Hello World!');
});

app.listen(port, () => console.log(`Listening on port ${port}!`));

NOTE: Make sure to send a response (as this package does not do that automatically).

0.2.2

5 years ago

0.2.1

5 years ago

0.2.0

5 years ago

0.1.1

5 years ago

0.1.0

5 years ago