Brandon Philips a1ec895b91 feat(server): introduce a cors handler
Introduce a handler that lives under the gorilla mux and adds the
correct headers based on the request and always returns 200 OK when
there OPTIONS is called on a URL.

This fixes the ability to DELETE from the dashboard on peer X when peer
Y is the leader. As a side effect it reveals some bugs in the dashboard
though notably:

- Due to the RTT immediatly refreshing the dashboard doesn't work and
  deleted keys are still there

- For some reason PUTS from peer X are creating directories and not
  keys.
2013-11-21 09:25:21 -08:00
..
2013-11-20 10:52:01 -07:00
2013-11-19 09:20:20 -07:00
2013-10-11 01:02:38 -06:00
2013-11-02 21:50:35 -07:00
2013-10-11 01:02:38 -06:00
2013-10-11 01:02:38 -06:00
2013-11-15 00:13:32 -05:00
2013-10-12 15:56:43 -06:00
2013-10-30 17:36:15 -07:00
2013-11-15 00:13:32 -05:00
2013-11-02 21:50:35 -07:00
2013-11-20 10:52:01 -07:00
2013-11-15 00:13:32 -05:00
2013-10-30 17:36:15 -07:00