diff options
Diffstat (limited to 'lib/net')
-rw-r--r-- | lib/net/http.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/net/http.rb b/lib/net/http.rb index 29377fc473..19f0983a39 100644 --- a/lib/net/http.rb +++ b/lib/net/http.rb @@ -1533,6 +1533,7 @@ module Net #:nodoc: @path = path initialize_http_header initheader self['Accept'] ||= '*/*' + self['User-Agent'] ||= 'Ruby' @body = nil @body_stream = nil end |