1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

* test/soap/test_streamhandler.rb (test_basic_auth): removed.

soap4r + basic_auth is not officially supported in ruby/1.8.1 even
          though soap4r + basic_auth + http-access2 should run fine.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5262 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
nahi 2003-12-23 10:47:01 +00:00
parent 163a6e81b2
commit 619587e205
2 changed files with 9 additions and 10 deletions

View file

@ -1,3 +1,9 @@
Tue Dec 23 19:44:47 2003 NAKAMURA, Hiroshi <nahi@ruby-lang.org>
* test/soap/test_streamhandler.rb (test_basic_auth): removed.
soap4r + basic_auth is not officially supported in ruby/1.8.1 even
though soap4r + basic_auth + http-access2 should run fine.
Tue Dec 23 19:42:59 2003 Nobuyoshi Nakada <nobu@ruby-lang.org>
* io.c (rb_io_ungetc): raise an exception at unread stream to

View file

@ -142,16 +142,9 @@ __EOX__
end
def test_basic_auth
unless Object.const_defined?('HTTPAccess2')
STDERR.puts("basic_auth is not supported under soap4r + net/http for now.")
return
end
str = ""
@client.wiredump_dev = str
@client.options["protocol.http.basic_auth"] << [@url, "foo", "bar"]
assert_nil(@client.do_server_proc)
r, h = parse_req_header(str)
assert_equal("Basic Zm9vOmJhcg==", h["authorization"])
# soap4r + basic_auth is not officially supported in ruby/1.8.1 even though
# soap4r + basic_auth + http-access2 should run fine.
return
end
def test_proxy