るりまサーチ

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

別のキーワード

  1. uri build
  2. uri extract
  3. uri new
  4. open-uri open
  5. uri regexp

ライブラリ

クラス

キーワード

検索結果

URI::MailTo#headers -> [[String]] (29119.0)

自身のヘッダーを文字列の配列の配列として設定します。

...自身のヘッダーを文字列の配列の配列として設定します。

例:
require 'uri'
m = URI.parse("mailto:ruby-list@ruby-lang.org?subject=subscribe&cc=myaddr")
p m.headers #=> [["subject", "subscribe"], ["cc", "myaddr"]]...

URI::MailTo#headers=(s) (17131.0)

自身のヘッダーを文字列で設定します。

...を文字列で設定します。

@param s ヘッダーを表す文字列を指定します。

@raise URI::InvalidComponentError 不正な引数 s に対して発生します。

例:
require 'uri'
m = URI.parse("mailto:nospam@example.com")
m.headers = URI.escape("subject=hello hello")...

URI::MailTo.build(ary) -> URI::MailTo (11158.0)

引数で与えられた URI 構成要素から URI::MailTo オブジェクトを生成します。 引数の正当性をチェックします。

...引数で与えられた URI 構成要素から URI::MailTo オブジェクトを生成します。
引数の正当性をチェックします。

@param ary 構成要素を
[to, headers]
という文字列の配列で与えます。headers は、以下のような文字列か配列で
与え...
...subscribe&cc=addr"

[["subject", "subscribe"], ["cc", "addr"]]

@param hash 構成要素をハッシュで与えます。ハッシュのキーは :to, :headers です。ハッシュの値は ary と同様です。

@raise URI::InvalidComponentError 不正な引数に対して発生します。...

URI::MailTo.build(hash) -> URI::MailTo (11158.0)

引数で与えられた URI 構成要素から URI::MailTo オブジェクトを生成します。 引数の正当性をチェックします。

...引数で与えられた URI 構成要素から URI::MailTo オブジェクトを生成します。
引数の正当性をチェックします。

@param ary 構成要素を
[to, headers]
という文字列の配列で与えます。headers は、以下のような文字列か配列で
与え...
...subscribe&cc=addr"

[["subject", "subscribe"], ["cc", "addr"]]

@param hash 構成要素をハッシュで与えます。ハッシュのキーは :to, :headers です。ハッシュの値は ary と同様です。

@raise URI::InvalidComponentError 不正な引数に対して発生します。...

URI::Generic.component -> [Symbol] (11040.0)

URI の構成要素を表すシンボルの配列を返します。

...
URI
の構成要素を表すシンボルの配列を返します。

require 'uri'
p URI::Generic.component
p URI::MailTo.component

# => [:scheme, :userinfo, :host, :port, :registry, :path, :opaque, :query, :fragment]
# => [:scheme, :to, :headers]...

絞り込み条件を変える

NEWS for Ruby 3.0.0 (36.0)

NEWS for Ruby 3.0.0 このドキュメントは前回リリース以降のバグ修正を除くユーザーに影響のある機能の変更のリストです。

...uto_compact= and GC.auto_compact have been added to control when compaction runs. Setting `auto_compact=` to `true` will cause compaction to occur during major collections. At the moment, compaction adds significant overhead to major collections, so please test first! 17176
* Hash
* Hash#tr...
...me verification. 16555
* Net::HTTP.get, Net::HTTP.get_response, and Net::HTTP.get_print can take the request headers as a Hash in the second argument when the first argument is a URI. 16686
* Net::SMTP
* Add SNI support.
* Net::SMTP.start arguments are keyword arguments.
* TLS sh...
...umerable#grep_v when passed a Regexp and no block no longer modify Regexp.last_match. 17030
* Requiring 'open-uri' no longer redefines `Kernel#open`. Call `URI.open` directly or `use URI#open` instead. 15893
* SortedSet has been removed for dependency and performance reasons.

== Stdlib compatib...