Comments (4)
FWIW I feel like the current API is pretty janky so totally open to an API that flows better, especially the output side. Many would like to see this write to a transform stream to do transformations, which sounds like you're ask too.
from send.
Yea, definitely would like to see. Node.js 0.8 will be dropped with the next major but 0.10 support won't be removed anytime soon, so if it's possible to still support 0.10 that would be super awesome.
from send.
In addition for Node.js versions, everything in this org tries to support as many Node.js versions as possible -- it's part of our philosophy. We have the ideal support line (down to 0.10 currently) and the hard line of must go down to at least (4.0 currently). Really the minimum version is negotiable between those two, and if 0.10 isn't picked there should be some good reasons to why it's impossible to support lower (in the past we have used compat helps like on-finished to accomplish tasks like this, so perhaps it's just to make a new one).
from send.
Yes, I need to apply a transform afterwards (compression).
I'll see what I can come up with, I'll target Node 4, and then we can see if we can stretch it to 0.10.
I'm in your same shoes for backward compat, as readable-stream@2
(pulled from Node 8) supports down to Node 0.8.
from send.
Related Issues (20)
- SendStream.pipe with empty path resolves to path with slash on end HOT 10
- RangeNotSatisfiableError: Range Not Satisfiable HOT 10
- Allow using alternate sources of files HOT 11
- Wrong behavior when handling discontinuous ranges. HOT 3
- Filenames with periods/dots using extensions option HOT 2
- Update to newer mime package to support wasm HOT 1
- progress event HOT 13
- strong etag support? HOT 4
- Can we increase the Max maxAge to 20 years? and have chance to add Expires header based on Last-modified? HOT 1
- Symlink Files HOT 4
- Allow falling back to file when directory exists but doesn't have index
- control size of partial content (206) HOT 5
- Node 15 / req.headers not defined HOT 11
- lookup not a function HOT 1
- Keep CSP on 304 HOT 6
- Unable to read /proc/* files HOT 2
- Any plan bump debug package to 3.1.0 for CVE-2017-20165? HOT 2
- Packages error - 'process is not defined' HOT 7
- Would it be possible to upgrade mime version? HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from send.