convert


Description:

[ Version ( since = "0.3" ) ]
public void convert (Converter converter, int64 content_length = -1)

Apply a converter to the request body.

If the payload is chunked, (eg. 'Transfer-Encoding: chunked') and the new content length is undetermined, it will remain chunked.

Parameters:

content_length

resulting value for the 'Content-Length' header or '-1' if the length is undetermined