added 204 to the valid response cases for listing indexes.

This tripped me up for a moment,
Listing indexes when there aren't any returns a `204`, which was handled as an error case when it isn't.
In my use case (scaffolding, frequently rebuilding from scratch), the empty object is desired.