Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: restrict this to JSON, write the new content-length
It is possible that the content length is not equivalent due to JSON serialization, so we need to re-write the Content-Length header to the upstream. This commit also restricts the fix to ONLY handle JSON. Other content types could be handled with some conditionals if necessary.
- Loading branch information