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

fixed api url creation to support windows #11

Closed nathanlundquist closed 10 years ago

nathanlundquist commented 11 years ago

In Windows the api urls being generated in http.HTTPClient.do_call were looking like this: http://localhost:15672/api\\queues.

Adding the trailing / to http.HTTPClient.base_url fixes it.

I'm going to go cry myself to sleep now having contributed a Windows fix.

bkjones commented 10 years ago

Ah - I fixed this in response to an issue reported by someone recently. It works in head (and the tests pass, too). I'll release a new version shortly.