-
-
Notifications
You must be signed in to change notification settings - Fork 939
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
Maximum allowed response length #617
Labels
Comments
The above has moved to: Permalink: |
@benjie Good spot. Also it's not compatible with streams, since they use |
That seems wise; or update the doc. Thanks for the heads up 🙏 |
Updated: got/documentation/examples/advanced-creation.js Lines 40 to 77 in 4880017
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
It would be great if it was possible to set the maximum allowed response length. If the response was larger than that, it would report an error. It should not rely on the response's
Content-Length
.Looking at the available API, it could be done manually by consuming the response as stream and counting but exposing it as an option would be more user friendly.
The text was updated successfully, but these errors were encountered: