Revision: 4537 Author: edi URL: http://bknr.net/trac/changeset/4537
Cosmetics again
U trunk/thirdparty/drakma/cookies.lisp U trunk/thirdparty/drakma/doc/index.html U trunk/thirdparty/drakma/specials.lisp
Modified: trunk/thirdparty/drakma/cookies.lisp =================================================================== --- trunk/thirdparty/drakma/cookies.lisp 2010-05-19 14:53:27 UTC (rev 4536) +++ trunk/thirdparty/drakma/cookies.lisp 2010-05-19 15:18:08 UTC (rev 4537) @@ -258,14 +258,6 @@ (push (list (car name/value) (cdr name/value) parameters) result)))) (nreverse result)))
-(defvar *remove-duplicate-cookies-p* T - "Determines how duplicate cookies are handled. Valid values are: - * nil - duplicates will not be removed - * (T :KEEP-LAST) - for duplicates, only the last cookie value will be kept, - based on the order of the response header - * :KEEP-FIRST - for duplicates, only the first cookie value will be kept, - based on the order of the response header") - (defun get-cookies (headers uri) "Returns a list of COOKIE objects corresponding to the `Set-Cookie' header as found in HEADERS (an alist as returned by
Modified: trunk/thirdparty/drakma/doc/index.html =================================================================== --- trunk/thirdparty/drakma/doc/index.html 2010-05-19 14:53:27 UTC (rev 4536) +++ trunk/thirdparty/drakma/doc/index.html 2010-05-19 15:18:08 UTC (rev 4537) @@ -1364,13 +1364,11 @@
Valid values are: <ul> - <li><code>NIL</code> - duplicates will not be removed</li> - <li><code>T</code> - for duplicates, only the last cookie value will - be kept, based on the order of the response header</li> - <li><code>:KEEP-LAST</code> - for duplicates, only the last cookie - value will be kept, based on the order of the response header</li> + <li><code>NIL</code> - duplicates will not be removed,</li> + <li><code>T</code> or <code>:KEEP-LAST</code> - for duplicates, only the last cookie + value will be kept, based on the order of the response header,</li> <li><code>:KEEP-FIRST</code> - for duplicates, only the first cookie - value will be kept, based on the order of the response header</li> + value will be kept, based on the order of the response header.</li> </ul>
Misbehaving servers may send duplicate cookies back in the same
Modified: trunk/thirdparty/drakma/specials.lisp =================================================================== --- trunk/thirdparty/drakma/specials.lisp 2010-05-19 14:53:27 UTC (rev 4536) +++ trunk/thirdparty/drakma/specials.lisp 2010-05-19 15:18:08 UTC (rev 4537) @@ -82,6 +82,13 @@ variable is NIL (which is the default), an error will be signalled instead.")
+(defvar *remove-duplicate-cookies-p* t + "Determines how duplicate cookies are handled. Valid values are NIL +(duplicates will not be removed), :KEEP-LAST or T (for duplicates, +only the last cookie value will be kept based on the order of the +response header), or :KEEP-FIRST (only the first value will be +kept).") + (defvar *text-content-types* '(("text" . nil)) "A list of conses which are used by DETERMINE-BODY-FORMAT to decide whether a `Content-Type' header denotes text content. The car and cdr