Allow specifying whether to inhibit cookies on a per-URL basis
authorLars Ingebrigtsen <larsi@gnus.org>
Wed, 8 Feb 2012 00:04:42 +0000 (01:04 +0100)
committerLars Ingebrigtsen <larsi@gnus.org>
Wed, 8 Feb 2012 00:04:42 +0000 (01:04 +0100)
commitaacaa4191173ca6d1aea3fd4ebb01ea1d5e46e7b
tree6302d500e5ab761183c51859bd856edbf2da9e72
parent7c4bbb6992b443b0ce569d111fc167ad753e912c
Allow specifying whether to inhibit cookies on a per-URL basis

* url-http.el (url-http-create-request): Don't send cookies unless
requested.
(url-http-parse-headers): Don't store cookies unless requested.

* url.el (url-retrieve): Ditto

* url-queue.el (url-queue-retrieve): Take an optional
`inhibit-cookies' parameter.

* url-parse.el (url): Add the `use-cookies' slot to the URL struct
to be able to keep track of whether to do cookies or not on a
per-URL basis.
lisp/url/ChangeLog
lisp/url/url-http.el
lisp/url/url-parse.el
lisp/url/url-queue.el
lisp/url/url.el