coreos/etcd — pull request #256 by xiangli-cmu (2013-10-20 02:59:31+00:00)
Title: refactor return http status 201 Created when creating a new node

1. return 201 when creating a new node
2. move dispatch to server.go. I do not think `peer_sever` should know about the logic of command. But finding the leader should be the logic in the `peer_server`. I would like to move `dispatch` back to `peer_server` after we refactor `dispatch` a little bit.