mirror of
https://github.com/sigmasternchen/php-doc-en
synced 2025-03-15 08:28:54 +00:00
Document curl extension CURLOPT_SAFE_UPLOAD
constant. (#1623)
This commit is contained in:
parent
6de3c40884
commit
4c5d201d5f
1 changed files with 12 additions and 0 deletions
|
@ -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">
|
||||
|
|
Loading…
Reference in a new issue