flyerhzm/bullet — pull request #60 by 0xCCD (2012-04-03 17:42:50+00:00)
Title: fix issue (receiving 0 byte files) if response is a ActionDispatch::Response

Hi,

fix issue (receiving 0 byte files) if response is a ActionDispatch::Response

In my case response was invoked with the send_file command:
send_file "/tmp/myfile.zip", :type => 'application/zip', :filename=>'myfile.zip'

Looks that it's bad to call response.body if response is ActionDispatch::Response