|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Request #68991 expose CURLFORM_CONTENTHEADER
Submitted: 2015-02-05 13:16 UTC Modified: -
From: arekm at maven dot pl Assigned:
Status: Open Package: cURL related
PHP Version: 5.6.5 OS:
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
Block user comment
Status: Assign to:
Bug Type:
From: arekm at maven dot pl
New email:
PHP Version: OS:


 [2015-02-05 13:16 UTC] arekm at maven dot pl

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

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:

Content-Type: image/gif; name=logom.gif
Content-Transfer-Encoding: base64
Content-Disposition: inline; filename=logom.gif
Content-ID: <1423130378.54d33f0a1029c@host.lan>



Add a Patch

Pull Requests

Add a Pull Request

PHP Copyright © 2001-2020 The PHP Group
All rights reserved.
Last updated: Tue Jan 28 10:01:24 2020 UTC