... | ... | @@ -32,7 +32,7 @@ You can do so using the `:cookies` option. This can be: |
|
|
http = HTTPX.plugin(:cookies).with_cookies("foo" => "bar")
|
|
|
http.get("https://example.com")
|
|
|
# 2.
|
|
|
http = HTTPX.plugin(:cookies).with_cookies([{name: "foo", value: "bar"}])
|
|
|
http = HTTPX.plugin(:cookies).with_cookies([{ name: "foo", value: "bar" }])
|
|
|
http.get("https://example.com")
|
|
|
# 3.
|
|
|
http = HTTPX.plugin(:cookies)
|
... | ... | |