3件ヒット
[1-3件を表示]
(0.026秒)
別のキーワード
検索結果
先頭3件
-
Net
:: HTTPGenericRequest # method -> String (18346.0) -
リクエストの HTTP メソッドを文字列で返します。
...リクエストの HTTP メソッドを文字列で返します。
//emlist[例][ruby]{
require 'net/http'
uri = URI.parse('http://www.example.com/index.html')
req = Net::HTTP::Post.new(uri.request_uri)
req.method # => "POST"
req = Net::HTTP::Get.new(uri.request_uri)
req.method # => "GET"
//}... -
Net
:: HTTPHeader # method -> String (18328.0) -
リクエストの HTTP メソッドを文字列で返します。
...リクエストの HTTP メソッドを文字列で返します。
//emlist[例][ruby]{
require 'net/http'
uri = URI.parse('http://www.example.com/index.html')
req = Net::HTTP::Get.new(uri.request_uri)
req.method # => "GET"
//}... -
Net
:: HTTPMethodNotAllowed (18055.0) -
HTTP レスポンス 405 (Method Not Allowed) を表現するクラスです。
HTTP レスポンス 405 (Method Not Allowed) を表現するクラスです。
詳しくは 7231 Section 6.5.5 を見てください。