るりまサーチ

最速Rubyリファレンスマニュアル検索!
19件ヒット [1-19件を表示] (0.041秒)
トップページ > クエリ:attribute[x] > クエリ:value[x] > クエリ:net/http[x]

別のキーワード

  1. openssl value
  2. rss value
  3. rss value=
  4. rexml/document value
  5. _builtin each_value

種類

検索結果

net/http (38078.0)

汎用データ転送プロトコル HTTP を扱うライブラリです。 実装は 2616 に基きます。

...y]{
require 'net/http'
print Net::HTTP.get('www.example.com', '/index.html')
//}

//emlist[例2: URI を使う][ruby]{
require 'net/http'
require 'uri'
print Net::HTTP.get(URI.parse('http://www.example.com/index.html'))
//}

//emlist[例3: より汎用的な例][ruby]{
require 'net/http'
require 'ur...
...})
res = Net::HTTP.new(url.host, url.port).start {|http| http.request(req) }
case res
when Net::HTTPSuccess, Net::HTTPRedirection
# OK
else
res.value
end
//}

==== プロクシ経由のアクセス

Net::HTTP は http_proxy 環境変数が存在するならば自動的に
その URI を利用し...
....4 Form content types
でもそのように書かれています。

ところが、同じ HTML 4.01 Specification の
B.2.2 Ampersands in URI attribute values では、
この `&' がSGMLの文字実体参照で用いられることが指摘されており、
CGIやサーバの実装者に対し `&...

NEWS for Ruby 2.4.0 (18.0)

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

..., :up, :down が指定可能です。 12548 12958 12953

* Hash
* Hash#compact, Hash#compact! を追加 11818
* Hash#transform_values Hash#transform_values! を追加 12512

* Integer
* Fixnum と Bignum は Integer に統合されました 12005
* Integer#ceil, Integer#floor, In...
...に属性をセットできるようにしました。 12224
* Logger.new のキーワード引数に shift_period_suffix を追加 10772

* net/http
* Net::HTTP.post を追加 12375

* net/ftp
* TLSをサポート 4217
* Net::FTP.new の引数をキーワード引数に対応し...
...tection_proc, Readline.quoting_detection_proc= を追加
12659

* rexml
* REXML::Element#[] : If String or Symbol is specified, attribute
value
is returned. Otherwise, Nth child is returned. This is
backward compatible change.

* set
* Set#compare_by_identity, Set#compa...