We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
size int ... If the length of the retrieved content does not match the specified length, the content should not be trusted.
If intended as a recommendation, use "SHOULD" (ALL CAPS.) If not intended as a recommendation invoke RFC meaning, consider alternate wording.
The text was updated successfully, but these errors were encountered:
I'm not even sure this is correct. The size is really there to support preallocation. Content verification should be done through digest.
Sorry, something went wrong.
I think it is correct. This may protect against future length extension attacks.
Ok, this should be SHOULD, then.
I'm going to add this to #111, as this question comes up all the time.
confirmed fixed in #111
No branches or pull requests
If intended as a recommendation, use "SHOULD" (ALL CAPS.)
If not intended as a recommendation invoke RFC meaning, consider alternate wording.
The text was updated successfully, but these errors were encountered: