...brary. This is related to issue 345.
The try/catch is needed because the sync content-length calculation cannot work for for streams. If used with streams, behavior is unchanged by this pull request.
Adds content-length calculation when submitting forms using form-data…
… library. This is related to issue 345.