Document curl extension CURLOPT_SAFE_UPLOAD constant. (#1623)

This commit is contained in:
David CARLIER 2022-06-13 13:11:54 +01:00 committed by GitHub
parent 6de3c40884
commit 4c5d201d5f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -518,6 +518,18 @@
&true; by default. Available since PHP 7.3.0 and libcurl >= cURL 7.52.0.
</entry>
</row>
<row>
<entry valign="top"><constant>CURLOPT_SAFE_UPLOAD</constant></entry>
<entry valign="top">
Always &true;, what disables support for the <literal>@</literal> prefix for
uploading files in <constant>CURLOPT_POSTFIELDS</constant>, which
means that values starting with <literal>@</literal> can be safely
passed as fields. <classname>CURLFile</classname> may be used for
uploads instead.
</entry>
<entry valign="top">
</entry>
</row>
<row>
<entry valign="top"><constant>CURLOPT_SUPPRESS_CONNECT_HEADERS</constant></entry>
<entry valign="top">