Closed querry43 closed 10 years ago
When the client does a PUT on a non-leader node, the node returns a redirect that the client needs to follow. This implements that logic. It also throws in a few additional tests that helped me figure out how this module all works.
I haven't tested, but looks great. And thanks for the tests, that's awesome!
When the client does a PUT on a non-leader node, the node returns a redirect that the client needs to follow. This implements that logic. It also throws in a few additional tests that helped me figure out how this module all works.