Skip to content

Commit

Permalink
Merge pull request #2857 from sada/add_no_proxy_for_open_uri
Browse files Browse the repository at this point in the history
open-uriでno_proxy環境変数も使用できるので追加
  • Loading branch information
znz committed May 2, 2024
2 parents 4cb55c8 + e807b09 commit 45fb296
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions refm/api/src/open-uri.rd
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ http/ftp の URL を、普通のファイルのように開けます。
}
#@end

http_proxyftp_proxy などの環境変数は、デフォルトで有効になっています。
http_proxy, ftp_proxy, no_proxy などの環境変数は、デフォルトで有効になっています。
プロキシを無効にするには :proxy => nil とします。

#@since 2.7.0
Expand Down Expand Up @@ -212,7 +212,7 @@ options には [[c:Hash]] を与えます。理解するハッシュの
文字列: "http://proxy.example.com:8000/" のようなプロクシの URI。
URI オブジェクト: URI.parse("http://proxy.example.com:8000/") のようなプロクシの URI オブジェクト。
true: Proxy を環境変数などから見つけようとする。使う環境変数は schema に応じて
http_proxy, https_proxy, ftp_proxy が使われる。
http_proxy, https_proxy, ftp_proxy, no_proxy が使われる。
false: Proxy を用いない。
nil: Proxy を用いない。
//}
Expand Down

0 comments on commit 45fb296

Please sign in to comment.