diff options
-rw-r--r-- | ChangeLog | 5 | ||||
-rw-r--r-- | lib/open-uri.rb | 5 |
2 files changed, 8 insertions, 2 deletions
@@ -1,3 +1,8 @@ +Fri Feb 7 21:58:48 2014 Zachary Scott <e@zzak.io> + + * lib/open-uri.rb: [DOC] use lower case version of core classes, same + as commit r44878, based on patch by Jonathan Jackson [Bug #9483] + Fri Feb 7 21:54:53 2014 Zachary Scott <e@zzak.io> * ext/ripper/lib/ripper/lexer.rb: [DOC] use lower case version of core diff --git a/lib/open-uri.rb b/lib/open-uri.rb index 82339ed473..264c8501cf 100644 --- a/lib/open-uri.rb +++ b/lib/open-uri.rb @@ -534,8 +534,9 @@ module OpenURI end end - # returns a list of encodings in Content-Encoding field - # as an Array of String. + # Returns a list of encodings in Content-Encoding field as an array of + # strings. + # # The encodings are downcased for canonicalization. def content_encoding vs = @metas['content-encoding'] |