Skip to content

Conversation

@privateip
Copy link
Member

This commit removes the logic to encode the payload before sending the request. This library should not attempt to infer the data type and simply add the data to the request exactly as it was passed to the function. It is the responsibility of the upstream function to call the function with the appropriately encoded data.

This commit removes the logic to encode the payload before sending the
request.  This library should not attempt to infer the data type and
simply add the data to the request exactly as it was passed to the
function.  It is the responsibility of the upstream function to call the
function with the appropriately encoded data.

This commit will now check if the value of data is type of bytes and
raise an exception if it is not
@privateip privateip force-pushed the remove-json-encoding branch from 27b00cb to 0e89cf3 Compare December 18, 2024 12:07
@privateip privateip merged commit 59a9fdb into itential:devel Dec 18, 2024
1 check passed
@privateip privateip mentioned this pull request Dec 18, 2024
@privateip privateip deleted the remove-json-encoding branch December 18, 2024 12:35
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