Next: , Previous: , Up: Option Data Types   [Contents][Index] Postfields

The postfields option is treated somewhat different than with the C API. In the C API, to make postfields, one must pass a CURLOPT_POSTFIELDSIZE option along with the CURLOPT_POSTFIELDS. In this Scheme API, the CURLOPT_POSTFIELDSIZE is calculated automatically from the bytevector used the postfields option.

Also, in this API, the postfields data is always copied from the source. There is no need to hold on to the bytevector passed to the postfields option.