Module: HTTPX::Plugins::Cookies::HeadersMethods
- Defined in:
- lib/httpx/plugins/cookies.rb
Instance Method Summary collapse
Instance Method Details
#set_cookie(cookies) ⇒ Object
64 65 66 67 68 69 70 |
# File 'lib/httpx/plugins/cookies.rb', line 64 def () return if .empty? header_value = .sort.join("; ") add("cookie", header_value) end |