mirror of
https://github.com/HoneyryderChuck/httpx.git
synced 2025-10-06 00:02:08 -04:00
skip default assignment, so that typing works better at that level
This commit is contained in:
parent
edc922843a
commit
ec8d400081
@ -76,6 +76,8 @@ module HTTPX
|
||||
|
||||
defaults.merge!(options)
|
||||
defaults.each do |(k, v)|
|
||||
next if v.nil?
|
||||
|
||||
__send__(:"#{k}=", v)
|
||||
end
|
||||
end
|
||||
|
Loading…
x
Reference in New Issue
Block a user