bkjones / pyrabbit

A Python module to communicate w/ the RabbitMQ HTTP Management API
http://pyrabbit.readthedocs.org
BSD 3-Clause "New" or "Revised" License
97 stars 86 forks source link

response not JSON format #18

Closed desprezj closed 10 years ago

desprezj commented 11 years ago

screenshot from 2013-10-17 17 3a05 3a11

I use a regular connection Client('localhost:55672', 'guest', 'guest')

when i try to make a get_queue('/', queue-name) and the queue does not exist, it throws an error that is not handle correctly since it is not in JSON format.

bkjones commented 10 years ago

This will now show the actual response instead of a json decode error in head. I'll release a new version in the coming days.