Skip to content

Comments

Support max content length restriction#45

Open
cbess wants to merge 3 commits intobrendonboshell:masterfrom
cbess:size-limit
Open

Support max content length restriction#45
cbess wants to merge 3 commits intobrendonboshell:masterfrom
cbess:size-limit

Conversation

@cbess
Copy link
Contributor

@cbess cbess commented Nov 30, 2019

Aborts download if the max content length (bytes) is exceeded. Adds config option to limit the content length of a given request.

- refactor _downloadUrl to remove Promisify wrapper to expose event handlers
- add maxContentLength option
@cbess cbess mentioned this pull request Dec 8, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant