Uclient-fetch: POST Content-length


Running openwrt-18.06 branch (git-18.228.31946-f64b152)

When submitting a POST request using built-in wget command (which is actually uclient-fetch), the Content-Length is not present. Example:

wget --post-data="a=b" http://httpbin.org/post -O -

Server receive the following headers:

"headers": {
"Connection": "close",
"Content-Type": "application/x-www-form-urlencoded",
"Host": "[httpbin.org](http://httpbin.org)",
"Transfer-Encoding": "chunked",
"User-Agent": "uclient-fetch"

Transfer-Encoding "chunked" used and there is no Content-length provided

Since the post data size is known during the request, is there a way to force Content-length header to appear?