Add bufferBody property to http request #4
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Related to Azure/azure-functions-nodejs-worker#294, we want to add a property on the http request that provides the body as a buffer. In order to do that we need to:
RawHttpBodyBytes
capability in the worker. This tells the host to send us the body in bytes, never a string. (NOTE: We don't want bytes and string because that duplicates the data sent over rpc and the data can be large)body
andrawBody
) so that we don't break people