aerogear/aerogear-unified-push-server — pull request #9 by tolis-e (2013-06-19 23:00:37+00:00)
Title: Add preflight DELETE handler & return entity in POST response body

Changes:

- Add preflight DELETE handler. The existing method does not catch the preflight DELETE request since it does not have a "token" path param.
- Return entity in POST response body. When the response body is empty then the Ajax request fails (the error function is called).
- The response headers values are filled according the request and are not hardcoded.