Skip to content

Commit

Permalink
Map application/json to JSON serializer.
Browse files Browse the repository at this point in the history
This is the content type we use in the Signal system.
  • Loading branch information
dougbarth committed Oct 7, 2011
1 parent a7fc182 commit 6711f67
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/amqp_utils/serialization.rb
Expand Up @@ -42,7 +42,7 @@ def self.serialize(message)
end

class Json < Base
content_type 'text/json'
content_type 'text/json', 'application/json'

def self.deserialize(message)
::JSON.parse(message)
Expand Down

0 comments on commit 6711f67

Please sign in to comment.