Edit report at https://pear.php.net/bugs/bug.php?id=18459&edit=1
ID: 18459
Updated by: [email protected]
Reported By: pub1 at supranetcom dot com
Summary: Client unable to decode MIME response
Status: Open
Type: Bug
Package: SOAP
Operating System: Windows
Package Version: 0.12.0
PHP Version: 5.3.6
Roadmap Versions:
New Comment:
Thanks for the patch Pierre, but I'm not 100% clear which file it
applies to. svn diff /
diff -u is usually the best way to go - it adds the filename in.
Previous Comments:
------------------------------------------------------------------------
[2011-04-25 12:43:44] tonimc
Sorry, my patch is a error, the correct patch is
http://pear.php.net/bugs/bug.php?id=18459&edit=12&patch=http-pass-header-to-decoder.diff&revision=1303305680
------------------------------------------------------------------------
[2011-04-25 12:27:35] tonimc
Added #patch
bug:18459;patch:http-pass-header-to-decoder.diff;revision:1303734455;.
------------------------------------------------------------------------
[2011-04-20 13:21:20] pdp
Added #patch
bug:18459;patch:http-pass-header-to-decoder.diff;revision:1303305680;.
------------------------------------------------------------------------
[2011-04-20 13:20:30] pdp
Description:
------------
The _decodeMimeMessage expect to have the transport header
first (before the actual body). _parseResponse in http.php was
direclty passing the body.
service in server.php is doing it when receiving a MIME request.
A similar modification (adding the received Content-Type) fixes
the problem.
------------------------------------------------------------------------