るりまサーチ

最速Rubyリファレンスマニュアル検索!
44件ヒット [1-44件を表示] (0.135秒)
トップページ > クエリ:i[x] > クエリ:@[x] > クエリ:type[x] > クエリ:head2[x]

別のキーワード

  1. rexml/document node_type
  2. win32ole ole_type
  3. rss type
  4. rss type=
  5. net/imap media_type

ライブラリ

クラス

検索結果

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

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

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

header が nil
でなければ、リクエストを送るときにその内容を HTTP ヘッダとして
送ります。 header は { 'Accept' = > '*/*', ... }...
...りません。

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


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

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

@
see Net::HTTP#head...

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

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

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

header が nil
でなければ、リクエストを送るときにその内容を HTTP ヘッダとして
送ります。 header は { 'Accept' = > '*/*', ... }...
...りません。

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


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

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

@
see Net::HTTP#head...

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

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

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

header が nil
でなければ、リクエストを送るときにその内容を HTTP ヘッダとして
送ります。 header は { 'Accept' = > '*/*', ... }...
...りません。

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


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

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

@
see Net::HTTP#head...

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

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

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

header が nil
でなければ、リクエストを送るときにその内容を HTTP ヘッダとして
送ります。 header は { 'Accept' = > '*/*', ... }...
...りません。

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


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

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

@
see Net::HTTP#head...