Module: HTTPX::Plugins::Cookies::HeadersMethods
- Defined in:
- lib/httpx/plugins/cookies.rb
Instance Method Summary collapse
Instance Method Details
#set_cookie(jar) ⇒ Object
114 115 116 117 118 119 120 121 |
# File 'lib/httpx/plugins/cookies.rb', line 114 def (jar) return unless jar = HTTP::Cookie.(jar.) return if .empty? add("cookie", ) end |