528件ヒット
[201-300件を表示]
(0.522秒)
別のキーワード
ライブラリ
- ビルトイン (12)
-
net
/ http (60) -
net
/ imap (156) -
rexml
/ document (12) -
rexml
/ streamlistener (12) - rss (120)
-
webrick
/ httprequest (36) -
webrick
/ httpresponse (84) -
webrick
/ httpservlet / filehandler (24) -
webrick
/ httputils (12)
クラス
- IO (12)
-
Net
:: HTTP (12) -
Net
:: HTTPGenericRequest (24) -
Net
:: IMAP :: BodyTypeBasic (48) -
Net
:: IMAP :: BodyTypeMessage (48) -
Net
:: IMAP :: BodyTypeMultipart (12) -
Net
:: IMAP :: BodyTypeText (48) -
REXML
:: Instruction (12) -
RSS
:: Maker :: ChannelBase :: CategoriesBase :: CategoryBase (24) -
RSS
:: Maker :: ChannelBase :: SkipDaysBase :: DayBase (24) -
RSS
:: Maker :: ChannelBase :: SkipHoursBase :: HourBase (24) -
RSS
:: TrackBackModel20 :: TrackBackAbout (24) -
RSS
:: TrackBackModel20 :: TrackBackPing (24) -
WEBrick
:: HTTPRequest (36) -
WEBrick
:: HTTPResponse (84) -
WEBrick
:: HTTPServlet :: DefaultFileHandler (24) -
WEBrick
:: HTTPUtils :: FormData (12)
モジュール
-
Net
:: HTTPHeader (24) -
REXML
:: StreamListener (12)
キーワード
- == (12)
- [] (12)
- []= (12)
- attlistdecl (12)
- body= (12)
-
body
_ stream (12) -
body
_ stream= (12) - content= (60)
-
content
_ id (36) -
content
_ length (24) -
content
_ length= (12) -
content
_ type (24) -
content
_ type= (12) - description (36)
- disposition (48)
- encoding (36)
- key? (12)
-
make
_ partial _ content (12) - post (12)
-
prepare
_ range (12) - query (12)
- readpartial (12)
-
sub
_ type (12) -
to
_ s (12)
検索結果
先頭5件
-
Net
:: IMAP :: BodyTypeText # content _ id -> String | nil (9118.0) -
Content-ID の値を文字列で返します。
...Content-ID の値を文字列で返します。
@see 2045... -
WEBrick
:: HTTPRequest # content _ type -> String | nil (9118.0) -
リクエストの Content-Type ヘッダを文字列で返します。
...リクエストの Content-Type ヘッダを文字列で返します。... -
WEBrick
:: HTTPResponse # content _ type -> String | nil (9118.0) -
Content-Type ヘッダの値を返します。
...Content-Type ヘッダの値を返します。... -
WEBrick
:: HTTPServlet :: DefaultFileHandler # make _ partial _ content(request , response , filename , filesize) (9102.0) -
部分的 GET リクエストのためのレスポンスを作成します。
...す WEBrick::HTTPRequest オブジェクトです。
@param response クライアントへのレスポンスを表す WEBrick::HTTPResponse オブジェクトです。
@param filename ファイル名を指定します。
@param filesize ファイルサイズを指定します。
@raise WEBrick::......HTTPStatus::BadRequest リクエストが不正である場合に発生します。
@raise WEBrick::HTTPStatus::RequestRangeNotSatisfiable レスポンスボディが空になる場合などに発生します。... -
Net
:: HTTPGenericRequest # body _ stream -> object (6107.0) -
サーバに送るリクエストのエンティティボディを IO オブジェクトなどのストリームで設定します。 f は read(size) メソッドが定義されている必要があります。
...list[例][ruby]{
require 'net/http'
uri = URI.parse('http://www.example.com/index.html')
post = Net::HTTP::Post.new(uri.request_uri)
File.open("/path/to/test", 'rb') do |f|
# 大きなファイルを扱う際にメモリ消費を少なくできる
post.body_stream = f
post["Content-Length"] =......f.size
end
post.body_stream # => #<File:/path/to/test (closed)>
//}... -
Net
:: HTTPGenericRequest # body _ stream=(f) (6107.0) -
サーバに送るリクエストのエンティティボディを IO オブジェクトなどのストリームで設定します。 f は read(size) メソッドが定義されている必要があります。
...list[例][ruby]{
require 'net/http'
uri = URI.parse('http://www.example.com/index.html')
post = Net::HTTP::Post.new(uri.request_uri)
File.open("/path/to/test", 'rb') do |f|
# 大きなファイルを扱う際にメモリ消費を少なくできる
post.body_stream = f
post["Content-Length"] =......f.size
end
post.body_stream # => #<File:/path/to/test (closed)>
//}... -
Net
:: HTTPHeader # sub _ type -> String|nil (6107.0) -
"text/html" における "html" のようなサブタイプを表す 文字列を返します。
...タイプを表す
文字列を返します。
Content-Type: ヘッダフィールドが存在しない場合には nil を返します。
//emlist[例][ruby]{
require 'net/http'
uri = URI.parse('http://www.example.com/index.html')
res = Net::HTTP.get_response(uri)
res.sub_type # => "html"
//}... -
WEBrick
:: HTTPResponse # body=(val) (6107.0) -
クライアントに返す内容(エンティティボディ)をセットします。
...クライアントに返す内容(エンティティボディ)をセットします。
自身が chunked であっても body の値はチャンク形式ではありません。
@param val メッセージボディを文字列か IO オブジェクトで指定します。
自身が chun......ディングされます。
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... -
Net
:: IMAP :: BodyTypeBasic # disposition -> Net :: IMAP :: ContentDisposition | nil (3117.0) -
Content-Dispotition の値を返します。
...Content-Dispotition の値を返します。
Net::IMAP::ContentDisposition オブジェクトを返します。
@see 1806, 2183...