forked from lostisland/faraday
-
Notifications
You must be signed in to change notification settings - Fork 1
Roadmap
technoweenie edited this page Apr 22, 2012
·
7 revisions
Let's get Faraday 1.0 out before the world ends!
This will be where any big changes for 1.0 are tested, before being finalized.
Big release. Hopefully no big changes for awhile (famous last words).
See the Faraday v1.0 Milestone.
I'm not sure how good common support for GZip encoding is among HTTP client libraries, but it would make for a sweet middleware. Not a blocker, for any major release.
I like the way Rack handles this.
res = Faraday.get('http://host.com/big-file.zip')
File.open('big-file.zip', 'w') do |f|
res.each do |chunk|
f << chunk
end
end
# add a convenience method for files?
res.write_to('big-file.zip')I know that net/http and excon both support streaming responses. If the adapter doesn't support it, just return the full body in the first chunk (and maybe emit a ruby warning).
- TomDoc in the code
- Usage docs in the wiki: faraday usage, parallel requests, testing, writing middleware.
Allow everyone to use Faraday.register_lookup_modules