httpclient 2.1.7 → 2.1.7.1

Sign up to get free protection for your applications and to get access to all the features.
data/lib/httpclient.rb CHANGED
@@ -210,7 +210,7 @@ require 'httpclient/cookie'
210
210
  # ruby -rhttpclient -e 'p HTTPClient.head(ARGV.shift).header["last-modified"]' http://dev.ctor.org/
211
211
  #
212
212
  class HTTPClient
213
- VERSION = '2.1.7'
213
+ VERSION = '2.1.7.1'
214
214
  RUBY_VERSION_STRING = "ruby #{RUBY_VERSION} (#{RUBY_RELEASE_DATE}) [#{RUBY_PLATFORM}]"
215
215
  /: (\S+) (\S+)/ =~ %q$Id$
216
216
  LIB_NAME = "(#{$1}/#{$2}, #{RUBY_VERSION_STRING})"
@@ -472,7 +472,7 @@ class HTTPClient
472
472
  case state
473
473
  when :init
474
474
  t1 = Net::NTLM::Message::Type1.new
475
- t1.domain = domain
475
+ t1.domain = domain if domain
476
476
  return t1.encode64
477
477
  when :response
478
478
  t2 = Net::NTLM::Message.decode64(authphrase)
metadata CHANGED
@@ -2,7 +2,7 @@
2
2
  name: httpclient
3
3
  version: !ruby/object:Gem::Version
4
4
  prerelease:
5
- version: 2.1.7
5
+ version: 2.1.7.1
6
6
  platform: ruby
7
7
  authors:
8
8
  - NAKAMURA, Hiroshi