-
-
Notifications
You must be signed in to change notification settings - Fork 16.7k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
c762b16
commit fc40702
Showing
3 changed files
with
41 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,15 @@ | ||
unreleased | ||
========== | ||
|
||
* Add `acceptRanges` option to `res.sendFile`/`res.sendfile` | ||
* Add `cacheControl` option to `res.sendFile`/`res.sendfile` | ||
* Add `options` argument to `req.range` | ||
- Includes the `combine` option | ||
* Fix some redirect handling in `res.sendFile`/`res.sendfile` | ||
* Fix Windows absolute path check using forward slashes | ||
* Improve error with invalid arguments to `req.get()` | ||
* Improve performance for `res.json`/`res.jsonp` in most cases | ||
* Improve `Range` header handling in `res.sendFile`/`res.sendfile` | ||
* deps: accepts@~1.3.3 | ||
- Fix including type extensions in parameters in `Accept` parsing | ||
- Fix parsing `Accept` parameters with quoted equals | ||
|
@@ -38,6 +42,20 @@ unreleased | |
- Add `combine` option to combine overlapping ranges | ||
- Fix incorrectly returning -1 when there is at least one valid range | ||
- perf: remove internal function | ||
* deps: [email protected] | ||
- Add `acceptRanges` option | ||
- Add `cacheControl` option | ||
- Attempt to combine multiple ranges into single range | ||
- Correctly inherit from `Stream` class | ||
- Fix `Content-Range` header in 416 responses when using `start`/`end` options | ||
- Fix `Content-Range` header missing from default 416 responses | ||
- Fix redirect error when `path` contains raw non-URL characters | ||
- Fix redirect when `path` starts with multiple forward slashes | ||
- Ignore non-byte `Range` headers | ||
- deps: http-errors@~1.5.0 | ||
- deps: range-parser@~1.2.0 | ||
- deps: statuses@~1.3.0 | ||
- perf: remove argument reassignment | ||
* deps: type-is@~1.6.13 | ||
- Fix type error when given invalid type to match against | ||
- deps: mime-types@~2.1.11 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters