lib/httpx/response.rb in httpx-0.8.2 vs lib/httpx/response.rb in httpx-0.9.0

- old
+ new

@@ -237,16 +237,14 @@ new(mime_type(str), charset(str)) end private - # :nodoc: def mime_type(str) m = str.to_s[MIME_TYPE_RE, 1] m && m.strip.downcase end - # :nodoc: def charset(str) m = str.to_s[CHARSET_RE, 1] m && m.strip.delete('"') end end