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