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