webmock
https://github.com/bblimke/webmock
Ruby
Library for stubbing and setting expectations on HTTP requests in Ruby.
HTTP::Response#reset_body_to_allow_it_to_be_streamed!
No Docs, write some!
Edit
git clone [email protected]:bblimke/webmock.git
cd webmock
open lib/webmock/http_lib_adapters/http_rb/response.rb
Contribute
# Make a new branchgit checkout -b -your-name--update-docs-HTTP--Response-reset_body_to_allow_it_to_be_streamed--for-pr
# Commit to gitgit add lib/webmock/http_lib_adapters/http_rb/response.rbgit commit -m "better docs for HTTP::Response#reset_body_to_allow_it_to_be_streamed!"
# Open pull requestgem install hub # on a mac you can `brew install hub`
hub fork
git push <your name> -your-name--update-docs-HTTP--Response-reset_body_to_allow_it_to_be_streamed--for-pr
hub pull-request
# Celebrate!