pedestal/pedestal — pull request #280 by nherzing (2014-09-26 23:12:30+00:00)
Title: Correctly build response string for SSE

This fixes two issues with the existing SSE implementation. The first is that the result of getBytes is being passed in to the StringBuilder used to build the response. The second is that `send-event` and thus `mk-data` is being called on each message twice. This results in the provided event name being overridden with "event" and the data being wrapped. For example, a client calling `(send-event ctx "my-name" "my-data")` results in
```
event: event: my-name
data: data: my-data
```