Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: set request content-type based on payload
Only set the "Content-Type" of a request to "application/json" only if the request includes a body. This ensures the "Content-Type" is appropriate for the request and is interpretted correctly by the API. Signed-off-by: Jacob Hull <[email protected]>
- Loading branch information