php.net |  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
View Add Comment Developer Edit
Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know!
Just going to say 'Me too!'? Don't clutter the database with that please !
Your email address:
MUST BE VALID
Solve the problem:
41 + 10 = ?
Subscribe to this entry?

 
 [2012-02-29 17:19 UTC] php at shark dot kom dot cz
Description:
------------
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: http://www.php.net/amqpexchange.publish
---



Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2012-03-02 20:15 UTC] pdezwart@php.net
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
http://snaps.php.net/.

 For Windows:

http://windows.php.net/snapshots/
 
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] pdezwart@php.net
-Status: Open +Status: Closed -Assigned To: +Assigned To: pdezwart
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Fri May 10 22:01:32 2024 UTC