77件ヒット
[1-77件を表示]
(0.081秒)
種類
- インスタンスメソッド (55)
- ライブラリ (11)
- 文書 (11)
ライブラリ
-
net
/ http (22) -
rubygems
/ source _ index (11) -
rubygems
/ source _ info _ cache (22)
クラス
-
Gem
:: SourceIndex (11) -
Gem
:: SourceInfoCache (22) -
Net
:: HTTP (22)
キーワード
-
net
/ http (11) - post (22)
-
ruby 1
. 6 feature (11) -
search
_ with _ source (11)
検索結果
先頭5件
- Gem
:: SourceInfoCache # search(pattern , platform _ only = false , all = false) -> [Gem :: Specification] - Gem
:: SourceIndex # search(gem _ pattern , platform _ only = false) -> [Gem :: Specification] - Gem
:: SourceInfoCache # search _ with _ source(pattern , only _ platform = false , all = false) -> Array - ruby 1
. 6 feature - Net
:: HTTP # post(path , data , header = nil , dest = nil) -> Net :: HTTPResponse
-
Gem
:: SourceInfoCache # search(pattern , platform _ only = false , all = false) -> [Gem :: Specification] (18307.0) -
与えられた条件を満たす Gem::Specification のリストを返します。
...ンスを指定します。
@param platform_only 真を指定するとプラットフォームが一致するもののみを返します。デフォルトは偽です。
@param all 真を指定するとキャッシュを更新してから検索を実行します。
@see Gem::SourceIndex#search... -
Gem
:: SourceIndex # search(gem _ pattern , platform _ only = false) -> [Gem :: Specification] (18301.0) -
引数で指定された条件を満たす Gem のリストを返します。
...満たす Gem のリストを返します。
@param gem_pattern 検索したい Gem を表す Gem::Dependency のインスタンスを指定します。
@param platform_only 真を指定するとプラットフォームが一致するもののみを返します。デフォルトは偽です。... -
Gem
:: SourceInfoCache # search _ with _ source(pattern , only _ platform = false , all = false) -> Array (6301.0) -
与えられた条件を満たす Gem::Specification と URL のリストを返します。
...ストを返します。
@param pattern 検索したい Gem を表す Gem::Dependency のインスタンスを指定します。
@param only_platform 真を指定するとプラットフォームが一致するもののみを返します。デフォルトは偽です。
@param all 真を指定す... -
ruby 1
. 6 feature (5262.0) -
ruby 1.6 feature ruby version 1.6 は安定版です。この版での変更はバグ修正がメイン になります。
...グ修正がメイン
になります。
((<stable-snapshot|URL:ftp://ftp.netlab.co.jp/pub/lang/ruby/stable-snapshot.tar.gz>)) は、日々更新される安定版の最新ソースです。
== 1.6.8 (2002-12-24) -> stable-snapshot
: 2003-01-22: errno
EAGAIN と EWOULDBLOCK が同じ値の......02-05-04) [i586-linux]
"\302\200"
[128]
: 2002-04-11: IO#write
ソケットやパイプに対する EPIPE の検出に失敗することがありました。
((<ruby-dev:16849>))
: 2002-04-11: ((<"cgi/session">)) (*ドキュメント未反映*)
support for multipart form.......されるかもしれません
((<ruby-talk:30387>))(やっぱそんなことはなかったようです。
これを見て、1.6.6 の stable-snapshot を使用している方は、2002/1/30
の以下の変更(ChangeLog)
* re.c (rb_reg_search): should set regs.allocated.
で、... -
Net
:: HTTP # post(path , data , header = nil , dest = nil) -> Net :: HTTPResponse (172.0) -
サーバ上の path にあるエンティティに対し文字列 data を POST で送ります。
...な body を
持ちません。
POST する場合にはヘッダに Content-Type: を指定する必要があります。
もし header に指定しなかったならば、 Content-Type として
"application/x-www-form-urlencoded" を用います。
dest は時代遅れの引数です。利用し......p version 1.1
response, body = http.post('/cgi-bin/search.rb', 'query=subject&target=ruby')
# version 1.2
response = http.post('/cgi-bin/search.rb', 'query=subject&target=ruby')
# using block
File.open('save.html', 'w') {|f|
http.post('/cgi-bin/search.rb', 'query=subject&target=ruby') do |str|... -
Net
:: HTTP # post(path , data , header = nil , dest = nil) {|body _ segment| . . . . } -> Net :: HTTPResponse (172.0) -
サーバ上の path にあるエンティティに対し文字列 data を POST で送ります。
...な body を
持ちません。
POST する場合にはヘッダに Content-Type: を指定する必要があります。
もし header に指定しなかったならば、 Content-Type として
"application/x-www-form-urlencoded" を用います。
dest は時代遅れの引数です。利用し......p version 1.1
response, body = http.post('/cgi-bin/search.rb', 'query=subject&target=ruby')
# version 1.2
response = http.post('/cgi-bin/search.rb', 'query=subject&target=ruby')
# using block
File.open('save.html', 'w') {|f|
http.post('/cgi-bin/search.rb', 'query=subject&target=ruby') do |str|... -
net
/ http (120.0) -
汎用データ転送プロトコル HTTP を扱うライブラリです。 実装は 2616 に基きます。
..._form(URI.parse('http://www.example.com/search'),
{'q'=>'ruby', 'max'=>'50'})
puts res.body
#例2: 認証付きで POST する
res = Net::HTTP.post_form(URI.parse('http://jack:pass@www.example.com/todo.cgi'),
{'from'=>'2005-01-01', 'to'=>'2005-03-......url = URI.parse('http://www.example.com/todo.cgi')
req = Net::HTTP::Post.new(url.path)
req.basic_auth 'jack', 'pass'
req.set_form_data({'from'=>'2005-01-01', 'to'=>'2005-03-31'})
res = Net::HTTP.new(url.host, url.port).start {|http| http.request(req) }
case res
when Net::HTTPSuccess, Net::HTTPRedir......t_response(URI.parse(uri_str))
case response
when Net::HTTPSuccess
response
when Net::HTTPRedirection
fetch(response['location'], limit - 1)
else
response.value
end
end
print fetch('http://www.example.org')
//}
より詳しくは Net::HTTPResponse、 Net::HTTPSuccess、
Net::...