Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[misc] README.me #194

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -358,7 +358,7 @@ _When a multipart request is received..._

#### What are Upstreams?

An upstream is an [object-mode Readable stream](http://nodejs.org/api/stream.html#stream_object_mode) of [Readable streams](https://nodejs.org/api/stream.html#stream_class_stream_readable). It's purpose is to pump out incoming files.
An upstream is an [object-mode Readable stream](http://nodejs.org/api/stream.html#stream_object_mode) of [Readable streams](https://nodejs.org/api/stream.html#stream_class_stream_readable). Its purpose is to pump out incoming files.

When you call `req.file('foo')`, the upstream for the "foo" parameter in the current request (`req`) is lazy-initialized and returned (subsequent calls to `req.file('foo')` will return the same upstream, calling `req.file('bar')` will return the upstream for "bar", etc.).

Expand Down