Module: HTTPX::Plugins::Cookies::HeadersMethods
- Defined in:
- lib/httpx/plugins/cookies.rb
Instance Method Summary collapse
Instance Method Details
#set_cookie(cookies) ⇒ Object
70 71 72 73 74 75 76 |
# File 'lib/httpx/plugins/cookies.rb', line 70 def () return if .empty? header_value = .sort.join("; ") add("cookie", header_value) end |