envoyproxy / envoyproxy/envoy-mobile

platform: automatically add `content-length` if body is present

Open
#680 0 comments 0 reactions 0 assignees View on GitHub
core help wanted no stalebot
Dominant language
Java
Stars
566
Forks
85
PR merge metrics
No merged PRs in 30d

Description

Some libraries like `URLSession` automatically add `content-length` if the request body is a known size at the time the request is created.

Envoy Mobile doesn't currently provide this functionality, but we could easily add this at the platform layer when consumers are constructing unary requests at which time the request body is a known length.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.