diff options
-rw-r--r-- | ChangeLog | 5 | ||||
-rw-r--r-- | lib/open-uri.rb | 4 |
2 files changed, 7 insertions, 2 deletions
@@ -1,3 +1,8 @@ +Thu Oct 20 16:19:51 2016 SHIBATA Hiroshi <hsbt@ruby-lang.org> + + * lib/open-uri.rb: Improved documentation grammar for + open-uri#open option. [Misc #11329][ruby-core:69868][ci skip] + Wed Oct 19 21:48:40 2016 Kazuhiro NISHIYAMA <zn@mbf.nifty.com> * NEWS: mention refinements with Kernel#send and diff --git a/lib/open-uri.rb b/lib/open-uri.rb index 2414f5101c..b09c18efd9 100644 --- a/lib/open-uri.rb +++ b/lib/open-uri.rb @@ -638,8 +638,8 @@ module OpenURI # is called before actual transfer is started. # It takes one argument, which is expected content length in bytes. # - # If two or more transfer is done by HTTP redirection, the procedure - # is called only one for a last transfer. + # If two or more transfers are performed by HTTP redirection, the + # procedure is called only once for the last transfer. # # When expected content length is unknown, the procedure is called with # nil. This happens when the HTTP response has no Content-Length header. |