firehoseio / firehose

Build realtime Ruby web applications. Created by the fine folks at Poll Everywhere.
http://firehose.io/
MIT License
726 stars 72 forks source link

Better return codes #49

Closed thoughtless closed 9 years ago

thoughtless commented 9 years ago

A few semi-related changes.

Returns a 405 when someone POSTs to an endpoint that only supports GET. Before this an exception would be raised.

The other change was needed to make the new tests pass. But it seems to be the "right" thing to do anyway.

bakkdoor commented 9 years ago

Looks good. Merging.