sendfile - basic file-sending utility for koa

  •        0

[![NPM version][npm-image]][npm-url][![Build status][travis-image]][travis-url][![Test coverage][coveralls-image]][coveralls-url][![Dependency Status][david-image]][david-url][![License][license-image]][license-url][![Downloads][downloads-image]][downloads-url][![Gittip][gittip-image]][gittip-url]Basic file-sending utility for koa. It does the following:- Check if a file exists- Set content-length, content-type, and last-modified headers- 304 based on last-modified- Handle HEAD requestsIt does not:- Check for malicious paths or hidden files- Support directory indexes- Cache control- OPTIONS method



comments powered by Disqus

Related Projects

Open source products are scattered around the web. Please provide information about the open source projects you own / you use. Add Projects.

Tag Cloud >>