send
send copied to clipboard
Streaming static file server with Range and conditional-GET support
/proc/* files could not be read, because fs.stat was returning 0 size. With new getSize function, their size information is correct, so they can now be read.
As discussed in [this issue](https://github.com/expressjs/express/issues/4944), send library is not able to return contents of files in /proc directory. It is mostly because of /proc is a pseudo file system.
This is a tracking issue for release 1.0. I am trying to give better visibility for upcoming changes and so am trying out making a PR for a release here,...
Prior work: - https://github.com/pillarjs/send/pull/69 - https://github.com/pillarjs/send/pull/82 - https://github.com/pillarjs/send/pull/171 - https://github.com/TimBarham/send/tree/transform-0.15 Adds a `transform` option. Allows users to transform inflight requests. Things to note: 1. As discussed in previous threads, when...
This is ment to solve this issue https://github.com/expressjs/serve-static/issues/93. It contains a fix to handel files on in case insensitive file system case sensitive.
I have the case, where I need to do some transformations on the file before writing it to the response. The way I do it now is by passing the...
Adds two new options: 1. **`fd`** - If specified, send will ignore the `path` argument and will use the specified file descriptor. This means that no `'open'` event will be...
Disabled by default (should it be enabled by default?). There should be no overhead if disabled. If `opts.precompressed` is set to true, tries to serve both .br and .gz files,...
I decided to change the behavior on the send module in a project and discovered that I really wanted sendFile to send things.json for a GET request to things when...