Package Exports
- http-700
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (http-700) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
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).