Skip to content

Commit

Permalink
content type change and update changelog
Browse files Browse the repository at this point in the history
  • Loading branch information
postwait committed Sep 19, 2011
1 parent f7ff76a commit 364e137
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
6 changes: 6 additions & 0 deletions History.md
@@ -1,3 +1,9 @@
...
==================
* Change the default json content type to application/json
* add a basic-return event for exchanges to catch simple
basicReturn messages.

0.1.0 / 2011-07-30
==================

Expand Down
2 changes: 1 addition & 1 deletion amqp.js
Expand Up @@ -1168,7 +1168,7 @@ Connection.prototype._sendBody = function (channel, body, properties) {

debug('sending json: ' + jsonBody);

properties = mixin({contentType: 'text/json' }, properties);
properties = mixin({contentType: 'application/json' }, properties);

sendHeader(this, channel, length, properties);

Expand Down

0 comments on commit 364e137

Please sign in to comment.