Currently, we return 0 if the Content-Length header is not set. Since 0 is a potentially valid Content-Length setting, this is somewhat ambiguous. It may be better to return (size64_t)(-1) to signal that no Content-Length was provided.
This would be a breaking change.
This would be a breaking change.