|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #72607 Wrong content-encoding on response
Submitted: 2016-07-17 12:23 UTC Modified: 2021-03-23 16:48 UTC
Avg. Score:5.0 ± 0.0
Reproduced:2 of 2 (100.0%)
Same Version:0 (0.0%)
Same OS:0 (0.0%)
From: masood dot 63 at gmail dot com Assigned: cmb (profile)
Status: Wont fix Package: SOAP related
PHP Version: 5.6Git-2016-07-17 (snap) 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: masood dot 63 at gmail dot com
New email:
PHP Version: OS:


 [2016-07-17 12:23 UTC] masood dot 63 at gmail dot com
in SoapCleint when response has wrong content-encoding value, a SoapFault Exception occurring with "Unknown Content-Encoding" message. its better to developer can ignore encoding on response.
for example Content-Encoding was set as "text/xml; charset=1256"
instead of setting by "gzip" or etc. 
this is a mistake on developing server-side web service but cause to client side exception.


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2021-03-23 16:48 UTC]
-Status: Open +Status: Wont fix -Assigned To: +Assigned To: cmb
 [2021-03-23 16:48 UTC]
I don't think that ignoring a Content-Type header makes sense,
because if the payload is actually compressed, it would let the
XML parser fail in an arbitrary way.

> this is a mistake on developing server-side web service

Indeed, and it shouldn't be hard to fix that.
PHP Copyright © 2001-2023 The PHP Group
All rights reserved.
Last updated: Sat Jan 28 01:03:46 2023 UTC