113件ヒット
[1-100件を表示]
(0.018秒)
種類
- インスタンスメソッド (84)
- 文書 (17)
- クラス (12)
ライブラリ
-
net
/ http (12) -
net
/ imap (36) - open-uri (12)
-
webrick
/ httprequest (12) -
webrick
/ httpresponse (12) -
webrick
/ httputils (12)
クラス
-
Net
:: IMAP :: BodyTypeBasic (12) -
Net
:: IMAP :: BodyTypeMessage (12) -
Net
:: IMAP :: BodyTypeText (12) -
WEBrick
:: HTTPRequest (12) -
WEBrick
:: HTTPResponse (12)
モジュール
-
Net
:: HTTPHeader (12) -
OpenURI
:: Meta (12)
キーワード
- FormData (12)
-
NEWS for Ruby 2
. 0 . 0 (12) -
NEWS for Ruby 3
. 0 . 0 (5) - chunked= (12)
- chunked? (12)
- query (12)
検索結果
先頭5件
-
Net
:: IMAP :: BodyTypeBasic # encoding -> String (18133.0) -
Content-Transfer-Encoding の値を文字列で返します。
...Content-Transfer-Encoding の値を文字列で返します。
@see 2045... -
Net
:: IMAP :: BodyTypeMessage # encoding -> String (18133.0) -
Content-Transfer-Encoding の値を文字列で返します。
...Content-Transfer-Encoding の値を文字列で返します。
@see 2045... -
Net
:: IMAP :: BodyTypeText # encoding -> String (18133.0) -
Content-Transfer-Encoding の値を文字列で返します。
...Content-Transfer-Encoding の値を文字列で返します。
@see 2045... -
Net
:: HTTPHeader # chunked? -> bool (56.0) -
Transfer-Encoding: ヘッダフィールドが "chunked" である 場合に真を返します。
...Transfer-Encoding: ヘッダフィールドが "chunked" である
場合に真を返します。
Transfer-Encoding: ヘッダフィールドが存在しなかったり、
"chunked" 以外である場合には偽を返します。
//emlist[例][ruby]{
require 'net/http'
uri = URI.parse('http://ww......w.example.com/index.html')
req = Net::HTTP::Get.new(uri.request_uri)
req.chunked? # => false
req["Transfer-Encoding"] = "chunked"
req.chunked? # => true
//}... -
NEWS for Ruby 2
. 0 . 0 (24.0) -
NEWS for Ruby 2.0.0 このドキュメントは前回リリース以降のバグ修正を除くユーザーに影響のある機能の変更のリストです。
...延列挙用のクラス
* ENV
* ENV.to_h は ENV.to_hash へのエイリアスです
* Fiber
* 非互換: Fiber#resume は Fiber#transfer を呼び出したファイバーを再開できなくなりました
* File
* 拡張: File.fnmatch? は File::FNM_EXTGLOB(File::Constants::......のスレッドである場合、
ThreadError を発生させます
* Time
* 返り値変更:
* Time#to_s now returns US-ASCII encoding instead of BINARY.
* TracePoint
* new class. This class is replacement of set_trace_func.
Easy to use and efficient implementation.......ハッシュ引数をサポートしました
* REXML::Document#write は :encoding オプションをサポートしました。
XMLドキュメントのエンコーディングを変更します。:encodingオプションなしの場合、XMLの宣言をXMLドキュメントのエンコ... -
NEWS for Ruby 3
. 0 . 0 (24.0) -
NEWS for Ruby 3.0.0 このドキュメントは前回リリース以降のバグ修正を除くユーザーに影響のある機能の変更のリストです。
...en keys and their values. 15822
* Windows: Read ENV names and values as UTF-8 encoded Strings 12650
* Encoding
* Added new encoding IBM720. 16233
* Changed default for Encoding.default_external to UTF-8 on Windows 16604
* Fiber
* Fiber.new(blocking: true/false) allows you to cr......fiber is non-blocking. 16786
* Fiber#backtrace and Fiber#backtrace_locations provide per-fiber backtrace. 16815
* The limitation of Fiber#transfer is relaxed. 17221
* GC
* GC.auto_compact= and GC.auto_compact have been added to control when compaction runs. Setting `auto_compact=` to... -
OpenURI
:: Meta # meta -> Hash (12.0) -
ヘッダを収録したハッシュを返します。
...][ruby]{
require 'open-uri'
open('http://example.com/') {|f|
p f.meta
#=> {"date"=>"Sun, 04 May 2008 11:26:40 GMT",
# "content-type"=>"text/html;charset=utf-8",
# "server"=>"Apache/2.0.54 (Debian GNU/Linux) mod_ssl/2.0.54 OpenSSL/0.9.7e",
# "transfer-encoding"=>"chunked"}
}
//}......uby]{
require 'open-uri'
URI.open('http://example.com/') {|f|
p f.meta
#=> {"date"=>"Sun, 04 May 2008 11:26:40 GMT",
# "content-type"=>"text/html;charset=utf-8",
# "server"=>"Apache/2.0.54 (Debian GNU/Linux) mod_ssl/2.0.54 OpenSSL/0.9.7e",
# "transfer-encoding"=>"chunked"}
}
//}... -
WEBrick
:: HTTPRequest # query -> Hash (12.0) -
リクエストのクエリーあるいはクライアントがフォームへ入力した値を表すハッシュを返します。
...のキーも値も unescape されています。ただし multipart/form-data なフォームデータの場合には
ユーザが content-transfer-encoding ヘッダを見て適切に処理する必要があります。
ハッシュの値は正確には文字列ではなく String クラスのサ... -
WEBrick
:: HTTPResponse # chunked=(flag) (12.0) -
真に設定するとクライアントに返す内容(エンティティボディ)を chunk に分けるようになります。
...ick'
include WEBrick
res = HTTPResponse.new( { :HTTPVersion => "1.1" } )
res.body = 'hoge'
res.chunked = true
print res.to_s
#=> 出力結果
HTTP/1.1 200 OK
Connection: Keep-Alive
Date: Sat, 27 Oct 2007 09:04:28 GMT
Server:
Transfer-Encoding: chunked
4
hoge
0
#...