1135件ヒット
[1101-1135件を表示]
(0.117秒)
別のキーワード
ライブラリ
-
cgi
/ core (72) - drb (115)
-
drb
/ extserv (24) -
net
/ ftp (12) -
net
/ http (12) - observer (60)
- open-uri (12)
- openssl (204)
-
rubygems
/ server (84) - socket (144)
- un (12)
- uri (12)
-
webrick
/ httprequest (12) -
webrick
/ httpresponse (60) -
webrick
/ https (12) -
webrick
/ httpserver (120) -
webrick
/ httpservlet / prochandler (12) -
webrick
/ server (144) -
webrick
/ ssl (12)
クラス
- BasicSocket (24)
- CGI (24)
-
DRb
:: DRbServer (115) -
DRb
:: ExtServ (24) -
Gem
:: Server (84) -
Net
:: FTP (12) -
Net
:: HTTP (12) -
OpenSSL
:: SSL :: SSLContext (48) -
OpenSSL
:: SSL :: SSLServer (84) -
OpenSSL
:: SSL :: SSLSocket (24) -
OpenSSL
:: X509 :: Store (24) -
OpenSSL
:: X509 :: StoreContext (24) - Socket (24)
- TCPServer (48)
- UNIXServer (48)
-
URI
:: Generic (12) -
WEBrick
:: GenericServer (156) -
WEBrick
:: HTTPRequest (24) -
WEBrick
:: HTTPResponse (60) -
WEBrick
:: HTTPServer (72) -
WEBrick
:: HTTPServer :: MountTable (48) -
WEBrick
:: HTTPServlet :: ProcHandler (12)
モジュール
-
CGI
:: QueryExtension (48) - Kernel (12)
- Observable (60)
-
OpenURI
:: Meta (12)
キーワード
- Marshal (12)
- [] (24)
- []= (12)
- accept (36)
-
accept
_ nonblock (24) -
add
_ observer (12) - alive? (12)
- body= (12)
- chunked= (12)
- close (12)
- config (24)
- connect (24)
-
connect
_ nonblock (12) -
content
_ length (12) -
content
_ length= (12) -
count
_ observers (12) - delete (12)
-
delete
_ observer (12) -
delete
_ observers (12) - front (24)
-
get
_ instance (12) - getpeereid (12)
- getsockopt (12)
- head (12)
- header (12)
- here? (12)
- hostname (12)
- hostname= (12)
- httpd (12)
-
latest
_ specs (12) - listen (48)
- listeners (12)
- logger (12)
- mount (12)
-
mount
_ proc (24) -
notify
_ observers (12) - out (12)
- purpose= (24)
- quick (12)
- registry= (12)
- root (12)
- run (24)
-
safe
_ level (7) - scan (12)
-
server
_ cert (12) -
server
_ name (24) -
server
_ port (12) -
server
_ protocol (12) -
server
_ software (12) -
servername
_ cb (12) -
servername
_ cb= (12) -
session
_ cache _ mode= (12) - shutdown (24)
- specs (12)
-
ssl
_ context (12) - start (24)
-
start
_ immediately (12) -
start
_ immediately= (12) - status (12)
- stop (12)
-
stop
_ service (12) - sysaccept (24)
- thread (12)
-
to
_ io (12) -
to
_ s (12) - tokens (12)
- trust= (24)
- umount (12)
- unmount (12)
- uri (12)
- verbose (12)
- verbose= (12)
-
virtual
_ host (12) - yaml (12)
検索結果
先頭3件
-
WEBrick
:: HTTPResponse # content _ length -> Integer | nil (7.0) -
Content-Length ヘッダの値を整数で表すアクセサです。デフォルトは nil です。
...'
include WEBrick
res = HTTPResponse.new( { :HTTPVersion => "1.1" } )
f = File.new('testfile')
res.body = f
res.content_length = 2
print res.to_s
#=> 出力結果
HTTP/1.1 200 OK
Connection: Keep-Alive
Date: Sat, 27 Oct 2007 12:04:32 GMT
Server:
Content-Length: 2
ho... -
WEBrick
:: HTTPResponse # content _ length=(len) (7.0) -
Content-Length ヘッダの値を整数で表すアクセサです。デフォルトは nil です。
...'
include WEBrick
res = HTTPResponse.new( { :HTTPVersion => "1.1" } )
f = File.new('testfile')
res.body = f
res.content_length = 2
print res.to_s
#=> 出力結果
HTTP/1.1 200 OK
Connection: Keep-Alive
Date: Sat, 27 Oct 2007 12:04:32 GMT
Server:
Content-Length: 2
ho... -
WEBrick
:: HTTPResponse # to _ s -> String (7.0) -
実際にクライアントに送られるデータを文字列として返します。
...列として返します。
require 'webrick'
include WEBrick
res = HTTPResponse.new( { :HTTPVersion => "1.1" } )
res.body = 'hoge'
print res.to_s
#=> 出力結果
HTTP/1.1 200 OK
Connection: Keep-Alive
Date: Sat, 27 Oct 2007 08:58:49 GMT
Server:
Content-Length: 4
hoge...