Skip to content

Commit

Permalink
Ensure request body is always returned as bytes
Browse files Browse the repository at this point in the history
  • Loading branch information
willfrey authored Jul 28, 2023
1 parent 5eaca7a commit 3b34b0f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/python/library/tritonclient/http/_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -153,4 +153,4 @@ def _get_inference_request(
)
return request_body, json_size

return request_body, None
return request_body.encode(), None

0 comments on commit 3b34b0f

Please sign in to comment.