When DELETEing a queue you can add the query string parameters if-empty=true and / or if-unused=true. These prevent the delete from succeeding if the queue contains messages, or has consumers, respectively.
This PR adds supports for providing these query parameters and the tests to confirm the behaviour.
From HTTP API docs
This PR adds supports for providing these query parameters and the tests to confirm the behaviour.