Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Calculate OktaClient Content-Length correctly
Previously the content length was being calculated based off of an empty uninitialised byte array. With this change it's now calculated off of the actual data array used as the body. Setting the content length to 0 seemed to be causing an issue with recent changes to Okta's infrastructure as noticed in segmentio#298.
- Loading branch information