Fixes review comments.

This commit is contained in:
iMacTia 2019-06-03 21:42:12 +01:00
parent caa877dc83
commit 9f99e11596
3 changed files with 3 additions and 4 deletions

View File

@ -8,7 +8,7 @@ theme_settings:
# email: your-email@example.com
description: >-
Simple, but flexible HTTP client library, with support for multiple backends
footer_text: "© 2009-2019 Rick Olson, Zack Hobson."
footer_text: "&copy; 2009 - 2019, the <a class=\"body-link\" href=\"/faraday/team\">Faraday Team</a>."
# Icons
github: 'lostisland/faraday'

View File

@ -24,7 +24,7 @@ conn = Faraday.new(url: 'http://www.sushi.com')
Connections can also take an options hash as a parameter, or be configured with a block.
Check out the [Middleware][middleware] page for more details about how to use this block for configurations.
Since the default middleware stack uses the `url_encoded` middleware and default adapter, use them on building your own middleware stack.
Since the default middleware stack uses the `url_encoded` middleware and default adapter, use them when building your own middleware stack.
```ruby
conn = Faraday.new(url: 'http://sushi.com') do |faraday|

View File

@ -30,5 +30,4 @@ end
streamed.join
```
The `on_data` streaming is currently only supported by the `Net::HTTP` adapter. Other adapters
will be support this in the future.
The `on_data` streaming is currently only supported by the `Net::HTTP` adapter.