From: gotoken@... (GOTO Kentaro) Date: 1999-07-08T15:47:44+09:00 Subject: [ruby-dev:7291] dualstack-httpd.rb itojunさん作 sample/dualstack-httpd.rb の応答に些細な間違い があります。このせいで Content-type 以下をHTTPヘッダとして認 識されません。 # ftp://ftp.kame.net/pub/kame/misc/ にあるパッチの方も同様です。 -- gotoken --- sample/dualstack-httpd.rb.orig Thu Jun 3 17:25:36 1999 +++ sample/dualstack-httpd.rb Thu Jul 8 15:40:53 1999 @@ -33,6 +33,7 @@ s = as # copy to dynamic variable str = s.gets STDERR.print "socket #{myname} got string\n" + s.write("HTTP/1.0 200 OK\n") s.write("Content-type: text/plain\n\n") s.write("this is test: my name is #{myname}, you sent:\n") s.write("---start\n")