Module: HTTPX::Plugins::SsrfFilter::OptionsMethods
- Defined in:
- lib/httpx/plugins/ssrf_filter.rb
Overview
adds support for the following options:
- :allowed_schemes
-
list of URI schemes allowed (defaults to
["https", "http"]
)
Instance Method Summary collapse
Instance Method Details
#option_allowed_schemes(value) ⇒ Object
94 95 96 |
# File 'lib/httpx/plugins/ssrf_filter.rb', line 94 def option_allowed_schemes(value) Array(value) end |