るりまサーチ

最速Rubyリファレンスマニュアル検索!
48件ヒット [1-48件を表示] (0.082秒)

別のキーワード

  1. fiddle ruby_free
  2. rbconfig ruby
  3. fiddle build_ruby_platform
  4. rake ruby
  5. rubygems/defaults ruby_engine

ライブラリ

クラス

検索結果

Net::HTTP#head2(path, header = nil) -> Net::HTTPResponse (18245.0)

サーバ上の path にあるエンティティのヘッダのみを取得します。 Net::HTTPResponse オブジェクトを返します。

...せん。

@
param path ヘッダを取得するエンティティのパスを
文字列で指定します。
@
param header リクエストの HTTP ヘッダをハッシュで指定します。


head2
は時代遅れなので使わないでください。

//emlist[例][ruby]{
response =...
...http.request_head('/index.html')
p response['content-type']
//}

@
see Net::HTTP#head...

Net::HTTP#head2(path, header = nil) {|response| .... } -> Net::HTTPResponse (18245.0)

サーバ上の path にあるエンティティのヘッダのみを取得します。 Net::HTTPResponse オブジェクトを返します。

...せん。

@
param path ヘッダを取得するエンティティのパスを
文字列で指定します。
@
param header リクエストの HTTP ヘッダをハッシュで指定します。


head2
は時代遅れなので使わないでください。

//emlist[例][ruby]{
response =...
...http.request_head('/index.html')
p response['content-type']
//}

@
see Net::HTTP#head...

Net::HTTP#request_head(path, header = nil) -> Net::HTTPResponse (3145.0)

サーバ上の path にあるエンティティのヘッダのみを取得します。 Net::HTTPResponse オブジェクトを返します。

...せん。

@
param path ヘッダを取得するエンティティのパスを
文字列で指定します。
@
param header リクエストの HTTP ヘッダをハッシュで指定します。


head2
は時代遅れなので使わないでください。

//emlist[例][ruby]{
response =...
...http.request_head('/index.html')
p response['content-type']
//}

@
see Net::HTTP#head...

Net::HTTP#request_head(path, header = nil) {|response| .... } -> Net::HTTPResponse (3145.0)

サーバ上の path にあるエンティティのヘッダのみを取得します。 Net::HTTPResponse オブジェクトを返します。

...せん。

@
param path ヘッダを取得するエンティティのパスを
文字列で指定します。
@
param header リクエストの HTTP ヘッダをハッシュで指定します。


head2
は時代遅れなので使わないでください。

//emlist[例][ruby]{
response =...
...http.request_head('/index.html')
p response['content-type']
//}

@
see Net::HTTP#head...