|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Doc Bug #61211 wrong keys documented
Submitted: 2012-02-29 17:19 UTC Modified: 2012-03-02 20:15 UTC
From: php at shark dot kom dot cz Assigned: pdezwart (profile)
Status: Closed Package: amqp (PECL)
PHP Version: Irrelevant OS:
Private report: No CVE-ID: None
 [2012-02-29 17:19 UTC] php at shark dot kom dot cz
Documentation says, there are keys Content-type and Content-encoding. At least for Content-type it's incorrect, because correct key is content_type. Tested on RabbitMQ version 2.6.1

From manual page:


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2012-03-02 20:15 UTC]
This bug has been fixed in SVN.

Snapshots of the sources are packaged every three hours; this change
will be in the next snapshot. You can grab the snapshot at

 For Windows:
Thank you for the report, and for helping us make PHP better.

You are absolutely correct, sorry for the confusion. It is both content_type and 
content_encoding. I have updated the PHP Documentation, which will get refreshed 
either today or next Friday. Thank you for the feedback!
 [2012-03-02 20:15 UTC]
-Status: Open +Status: Closed -Assigned To: +Assigned To: pdezwart
PHP Copyright © 2001-2021 The PHP Group
All rights reserved.
Last updated: Mon Sep 27 14:03:37 2021 UTC