diff --git a/ChangeLog b/ChangeLog index e57888f2b9..4c946f2675 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +Thu Dec 4 13:17:45 2003 NAKAMURA, Hiroshi + + * lib/soap/streamHandler.rb: support latest released version of + http-access2. + Thu Dec 4 13:04:44 2003 NAKAMURA, Hiroshi * lib/soap/soap.rb: add SOAP::Env module for environment repository diff --git a/lib/soap/streamHandler.rb b/lib/soap/streamHandler.rb index 7cf6ce53ee..d6b9c3bdca 100644 --- a/lib/soap/streamHandler.rb +++ b/lib/soap/streamHandler.rb @@ -115,9 +115,11 @@ private @options.add_hook("no_proxy") do |key, value| @client.no_proxy = value end - @client.protocol_version = @options["protocol_version"] - @options.add_hook("protocol_version") do |key, value| - @client.protocol_version = value + if @client.respond_to?(:protocol_version=) + @client.protocol_version = @options["protocol_version"] + @options.add_hook("protocol_version") do |key, value| + @client.protocol_version = value + end end set_cookie_store_file(@options["cookie_store_file"]) @options.add_hook("cookie_store_file") do |key, value|