remy/hang — pull request #3 by ahume (2012-08-31 20:37:04+00:00)
Title: Allow specific response sizes

For some browser performance testing it's nice to also be in control of the size of the response. Basically, I wanted to be able to dictate almost the exact shape of a waterfall chart. This adds that ability.

* bytes=[size of response in bytes]
* The API is backwards compatible, the 'bytes' param is only used if there is no 'content' param.
* If 'bytes' param receives a non-number or a number over 100000 it defaults to a safe 100000. This could be lowered if bandwidth cost is a concern.

Oh, I should have not done this in master. But, I have now. Pull if you're interested. :)

A.