Req #68991 [NEW]: expose CURLFORM_CONTENTHEADER
From: arekm at maven dot pl
Operating system:
PHP version: 5.6.5
Package: cURL related
Bug Type: Feature/Change Request
Bug description:expose CURLFORM_CONTENTHEADER
Description:
------------
Hello.
Currently there is no way to add own headers to particual single part of
multipart post in PHP.
On the other hand curl is providing a way to do is by using
CURLFORM_CONTENTHEADER in curl_formadd.
So this is a request about exposing CURLFORM_CONTENTHEADER in php curl
extension.
Expected result:
----------------
Ble able to add own header for example Content-ID like in this part of
multipart post message:
-_=_swift_v4_142313037854d33f0a1fcfc_=_
Content-Type: image/gif; name=logom.gif
Content-Transfer-Encoding: base64
Content-Disposition: inline; filename=logom.gif
Content-ID: <1423130378.54d33f0a1029c@host.lan>
R0lGODlhcgE8APcAAAAAAP////7+/kVFRf/7/f79/j09Pjs7PDk5OkVFRkFBQj8/QGNjZP39/v3+
/vn6+vv//fj8+P7//vHy8eLj4tXW1bm6uYaHhtfsz+nz5ViuLt/u2PD47Pr8+VGoIVKpIlOpJVSp
--
Edit bug report at https://bugs.php.net/bug.php?id=68991&edit=1
--
Try a snapshot (PHP 5.4): https://bugs.php.net/fix.php?id=68991&r=trysnapshot54
Try a snapshot (PHP 5.5): https://bugs.php.net/fix.php?id=68991&r=trysnapshot55
Try a snapshot (trunk): https://bugs.php.net/fix.php?id=68991&r=trysnapshottrunk
Fixed in SVN: https://bugs.php.net/fix.php?id=68991&r=fixed
Fixed in release: https://bugs.php.net/fix.php?id=68991&r=alreadyfixed
Need backtrace: https://bugs.php.net/fix.php?id=68991&r=needtrace
Need Reproduce Script: https://bugs.php.net/fix.php?id=68991&r=needscript
Try newer version: https://bugs.php.net/fix.php?id=68991&r=oldversion
Not developer issue: https://bugs.php.net/fix.php?id=68991&r=support
Expected behavior: https://bugs.php.net/fix.php?id=68991&r=notwrong
Not enough info: https://bugs.php.net/fix.php?id=68991&r=notenoughinfo
Submitted twice: https://bugs.php.net/fix.php?id=68991&r=submittedtwice
register_globals: https://bugs.php.net/fix.php?id=68991&r=globals
PHP 4 support discontinued: https://bugs.php.net/fix.php?id=68991&r=php4
Daylight Savings: https://bugs.php.net/fix.php?id=68991&r=dst
IIS Stability: https://bugs.php.net/fix.php?id=68991&r=isapi
Install GNU Sed: https://bugs.php.net/fix.php?id=68991&r=gnused
Floating point limitations: https://bugs.php.net/fix.php?id=68991&r=float
No Zend Extensions: https://bugs.php.net/fix.php?id=68991&r=nozend
MySQL Configuration Error: https://bugs.php.net/fix.php?id=68991&r=mysqlcfg
Thread (2 messages)
- arekm at maven dot pl