rslifka/elasticity — pull request #16 by menno (2012-06-19 14:34:46+00:00)
Title: Add support for large API requests

We ran into an issue when adding steps that contain large variables. Using the standard GET verb the size of these requests are too large and return a '505 HTTP Version Not Supported' error.

This commit will detect if the request is too large and switch to POST so the request will succeed. Note that you may still run into an ArgumentError: 'Size of an individual step exceeded the maximum allowed' when your step really is too large.

I've branched version 1.5 of the gem into menno/1.5-stable and based this branch on that.