Revision: 4201
Author: edi
URL: http://bknr.net/trac/changeset/4201
Small doc tweaks
U trunk/thirdparty/chunga/CHANGELOG.txt
U trunk/thirdparty/chunga/doc/index.html
Modified: trunk/thirdparty/chunga/CHANGELOG.txt
===================================================================
--- trunk/thirdparty/chunga/CHANGELOG.txt 2009-02-09 11:15:17 UTC (rev 4200)
+++ trunk/thirdparty/chunga/CHANGELOG.txt 2009-02-09 11:30:37 UTC (rev 4201)
@@ -1,3 +1,9 @@
+Version 1.0.0
+2009-02-10
+Switched to binary streams underneath and got rid of FLEXI-STREAMS dependency
+Exported (an improved version of) AS-KEYWORD
+Added WITH-CHARACTER-STREAM-SEMANTICS
+
Version 0.4.3
2008-05-23
Cleanup, reduce some consing
Modified: trunk/thirdparty/chunga/doc/index.html
===================================================================
--- trunk/thirdparty/chunga/doc/index.html 2009-02-09 11:15:17 UTC (rev 4200)
+++ trunk/thirdparty/chunga/doc/index.html 2009-02-09 11:30:37 UTC (rev 4201)
@@ -101,7 +101,7 @@
Chunga together with this documentation can be downloaded
from <a href="http://weitz.de/files/chunga.tar.gz">http://weitz.de/files/chunga.tar.gz</a>. The
-current version is 0.5.0. (This version is <b>not</b> compatible with
+current version is 1.0.0. (This version is <b>not</b> compatible with
pre-2009 releases
of <a href="http://weitz.de/hunchentoot/">Hunchentoot</a>
or <a href="http://weitz.de/drakma/">Drakma</a>.) Chunga will only
Revision: 4200
Author: edi
URL: http://bknr.net/trac/changeset/4200
Some more tweaks
U trunk/thirdparty/drakma/CHANGELOG.txt
U trunk/thirdparty/drakma/doc/index.html
U trunk/thirdparty/drakma/request.lisp
Modified: trunk/thirdparty/drakma/CHANGELOG.txt
===================================================================
--- trunk/thirdparty/drakma/CHANGELOG.txt 2009-02-09 11:01:48 UTC (rev 4199)
+++ trunk/thirdparty/drakma/CHANGELOG.txt 2009-02-09 11:15:17 UTC (rev 4200)
@@ -6,6 +6,8 @@
Be more lenient about content length (thanks to Zach Beane and "pix")
Added *ALLOW-DOTLESS-COOKIE-DOMAINS-P* (thanks to Daniel Janus)
Fix generation of user agent header (bug caught by Chaitanya Gupta)
+Added DEADLINE parameter for CCL (thanks to Hans Hübner)
+Fixed bug where READ-BODY returned NIL although TEXTP was true (thanks to Hans Hübner)
Version 0.11.5
2008-03-21
Modified: trunk/thirdparty/drakma/doc/index.html
===================================================================
--- trunk/thirdparty/drakma/doc/index.html 2009-02-09 11:01:48 UTC (rev 4199)
+++ trunk/thirdparty/drakma/doc/index.html 2009-02-09 11:15:17 UTC (rev 4200)
@@ -724,7 +724,7 @@
<!-- Entry for HTTP-REQUEST -->
-<p><br><table border=0><tr><td colspan=4 valign=top>[Function]</td></tr><tr><td valign=top style="white-space:nowrap"><a class=none name='http-request'><b>http-request</b></a> </td><td valign=top><i><a class=none href="#uri">uri</a> </i></td><td valign=top><tt>&key</tt> </td><td><i><a class=none href="#protocol">protocol</a> <a class=none href="#method">method</a> <a class=none href="#force-ssl">force-ssl</a> <a class=none href="#parameters">parameters</a> <a class=none href="#form-data">form-data</a> <a class=none href="#content">content</a> <a class=none href="#content-length">content-length</a> <a class=none href="#content-type">content-type</a> <a class=none href="#cookie-jar-param">cookie-jar</a> <a class=none href="#basic-authorization">basic-authorization</a> <a class=none href="#user-agent">user-agent</a> <a class=none href="#accept">accept</a> <a class=none href="#proxy">proxy</a> <a class=none href="#proxy-basic-authorization">proxy-basic-authorization</a> <a class=none href="#additional-headers">additional-headers</a> <a class=none href="#redirect">redirect</a> <a class=none href="#redirect-methods">redirect-methods</a> <a class=none href="#auto-referer">auto-referer</a> <a class=none href="#keep-alive">keep-alive</a> <a class=none href="#close">close</a> <a class=none href="#external-format-out">external-format-out</a> <a class=none href="#external-format-in">external-format-in</a> <a class=none href="#force-binary">force-binary</a> <a class=none href="#want-stream">want-stream</a> <a class=none href="#stream">stream</a> <a class=none href="#connection-timeout">connection-timeout</a> <a class=none href="#read-timeout">read-timeout</a> <a class=none href="#write-timeout">write-timeout</a></i></td></tr><tr><td colspan=2></td><td colspan=2 valign=top> => <i>body-or-stream, status-code, headers, uri, stream, <a class=none href="#must-close">must-close</a>, reason-phrase</i></td></tr></table>
+<p><br><table border=0><tr><td colspan=4 valign=top>[Function]</td></tr><tr><td valign=top style="white-space:nowrap"><a class=none name='http-request'><b>http-request</b></a> </td><td valign=top><i><a class=none href="#uri">uri</a> </i></td><td valign=top><tt>&key</tt> </td><td><i><a class=none href="#protocol">protocol</a> <a class=none href="#method">method</a> <a class=none href="#force-ssl">force-ssl</a> <a class=none href="#parameters">parameters</a> <a class=none href="#form-data">form-data</a> <a class=none href="#content">content</a> <a class=none href="#content-length">content-length</a> <a class=none href="#content-type">content-type</a> <a class=none href="#cookie-jar-param">cookie-jar</a> <a class=none href="#basic-authorization">basic-authorization</a> <a class=none href="#user-agent">user-agent</a> <a class=none href="#accept">accept</a> <a class=none href="#proxy">proxy</a> <a class=none href="#proxy-basic-authorization">proxy-basic-authorization</a> <a class=none href="#additional-headers">additional-headers</a> <a class=none href="#redirect">redirect</a> <a class=none href="#redirect-methods">redirect-methods</a> <a class=none href="#auto-referer">auto-referer</a> <a class=none href="#keep-alive">keep-alive</a> <a class=none href="#close">close</a> <a class=none href="#external-format-out">external-format-out</a> <a class=none href="#external-format-in">external-format-in</a> <a class=none href="#force-binary">force-binary</a> <a class=none href="#want-stream">want-stream</a> <a class=none href="#stream">stream</a> <a class=none href="#connection-timeout">connection-timeout</a> <a class=none href="#read-timeout">read-timeout</a> <a class=none href="#write-timeout">write-timeout</a> <a class=none href="#deadline">deadline</a></i></td></tr><tr><td colspan=2></td><td colspan=2 valign=top> => <i>body-or-stream, status-code, headers, uri, stream, <a class=none href="#must-close">must-close</a>, reason-phrase</i></td></tr></table>
<blockquote><br>
Sends an <a href="http://www.rfc.net/rfc2616.html">HTTP</a> request to a web server and returns its reply.
@@ -1030,6 +1030,16 @@
arguments are only available for
LispWorks, <code><i>write-timeout</i></code> is only available for
LispWorks 5.0 or higher.
+<p>
+<a class=none name="deadline"><code><i>deadline</i></code></a>, a time
+in the future, specifies the time until which the request should be
+finished. The deadline is specified
+in <a href="http://www.lispworks.com/documentation/HyperSpec/Body/26_glo_i.htm#internal…">internal
+time units</a>. If the server fails to respond until that time, a
+<a href="http://ccl.clozure.com/manual/chapter9.1.html"><code>COMMUNICATION-DEADLINE-EXPIRED</code></a>
+condition is signalled. DEADLINE is only available
+on <a href="http://www.clozure.com/clozurecl.html">CCL 1.2</a>
+and later.
</blockquote>
Modified: trunk/thirdparty/drakma/request.lisp
===================================================================
--- trunk/thirdparty/drakma/request.lisp 2009-02-09 11:01:48 UTC (rev 4199)
+++ trunk/thirdparty/drakma/request.lisp 2009-02-09 11:15:17 UTC (rev 4200)
@@ -381,11 +381,10 @@
LispWorks 5.0 or higher.
DEADLINE, a time in the future, specifies the time until which the
-request should be finished. The DEADLINE is specified in internal
-time units (see (GET-INTERNAL-TIME-UNITS) and
-INTERNAL-TIME-UNITS-PER-SECOND). If the server fails to respond until
-that time, a COMMUNICATION-DEADLINE-EXPIRED condition is signalled.
-DEADLINE is available on CCL 1.2 and later."
+request should be finished. The deadline is specified in internal
+time units. If the server fails to respond until that time, a
+COMMUNICATION-DEADLINE-EXPIRED condition is signalled. DEADLINE is
+only available on CCL 1.2 and later."
(unless (member protocol '(:http/1.0 :http/1.1) :test #'eq)
(parameter-error "Don't know how to handle protocol ~S." protocol))
(setq uri (cond ((uri-p uri) (copy-uri uri))
@@ -459,9 +458,11 @@
:nodelay t))))
#+openmcl
(when deadline
- ;; It is correct to set the deadline here even though it may have been initialized
- ;; by SOCKET-CONNECT already: The stream may have been passed in by the user and
- ;; the user may want to adjust the deadline for every request.
+ ;; it is correct to set the deadline here even though
+ ;; it may have been initialized by SOCKET-CONNECT
+ ;; already - the stream may have been passed in by the
+ ;; user and the user may want to adjust the deadline
+ ;; for every request.
(setf (ccl:stream-deadline http-stream) deadline))
(when (and use-ssl
;; don't attach SSL to existing streams
Revision: 4199
Author: edi
URL: http://bknr.net/trac/changeset/4199
Version bump
U trunk/thirdparty/drakma/CHANGELOG.txt
U trunk/thirdparty/drakma/doc/index.html
Modified: trunk/thirdparty/drakma/CHANGELOG.txt
===================================================================
--- trunk/thirdparty/drakma/CHANGELOG.txt 2009-02-09 10:47:35 UTC (rev 4198)
+++ trunk/thirdparty/drakma/CHANGELOG.txt 2009-02-09 11:01:48 UTC (rev 4199)
@@ -1,8 +1,9 @@
-Version 0.12.0
+Version 1.0.0
2009-02-09
Use the new ("binary") version of Chunga
+Added conditions types
+Some performance improvements
Be more lenient about content length (thanks to Zach Beane and "pix")
-Added conditions types
Added *ALLOW-DOTLESS-COOKIE-DOMAINS-P* (thanks to Daniel Janus)
Fix generation of user agent header (bug caught by Chaitanya Gupta)
Modified: trunk/thirdparty/drakma/doc/index.html
===================================================================
--- trunk/thirdparty/drakma/doc/index.html 2009-02-09 10:47:35 UTC (rev 4198)
+++ trunk/thirdparty/drakma/doc/index.html 2009-02-09 11:01:48 UTC (rev 4199)
@@ -654,13 +654,13 @@
Drakma together with this documentation can be downloaded
from <a href="http://weitz.de/files/drakma.tar.gz">http://weitz.de/files/drakma.tar.gz</a>.
-The current version is 0.12.0. Drakma can be installed
+The current version is 1.0.0. Drakma can be installed
via <a href="http://www.cliki.net/asdf">ASDF</a> and depends on the
open source
libraries <a href="http://www.cliki.net/cl-base64">CL-BASE64</a> (use
3.3.2 or higher to avoid an unneeded dependency
on <a href="http://www.cliki.net/kmrcl">KMRCL</a>), <a href="http://www.cliki.net/Puri">Puri</a>, <a href="http://weitz.de/flexi-streams/">FLEXI-STREAMS</a>,
-and <a href="http://weitz.de/chunga/">Chunga</a> (0.5.0 or higher).
+and <a href="http://weitz.de/chunga/">Chunga</a> (1.0.0 or higher).
If you're <em>not</em> using LispWorks, you'll also
need <a href="http://www.cliki.net/usocket">usocket</a> (0.3.2 or
newer) and (except
Revision: 4197
Author: hans
URL: http://bknr.net/trac/changeset/4197
improve comment (from ITA r234477)
U trunk/thirdparty/hunchentoot/connection-manager.lisp
Modified: trunk/thirdparty/hunchentoot/connection-manager.lisp
===================================================================
--- trunk/thirdparty/hunchentoot/connection-manager.lisp 2009-02-09 10:14:59 UTC (rev 4196)
+++ trunk/thirdparty/hunchentoot/connection-manager.lisp 2009-02-09 10:46:38 UTC (rev 4197)
@@ -62,9 +62,9 @@
instance. The SOCKET argument is passed to START-REQUEST-PROCESSING
as argument.
-In a multi-threaded environment, the connection manager runs the thunk
-in a separate thread. In a single-threaded environment, the thunk
-will be called directly."))
+In a multi-threaded environment, the connection manager runs this function
+in a separate thread. In a single-threaded environment, this function
+is called directly."))
(defgeneric shutdown (connection-manager)
(:documentation "Terminate all threads that are currently associated
Revision: 4196
Author: edi
URL: http://bknr.net/trac/changeset/4196
Be liberal about content length
U trunk/thirdparty/drakma/CHANGELOG.txt
U trunk/thirdparty/drakma/doc/index.html
U trunk/thirdparty/drakma/request.lisp
Modified: trunk/thirdparty/drakma/CHANGELOG.txt
===================================================================
--- trunk/thirdparty/drakma/CHANGELOG.txt 2009-02-09 10:08:05 UTC (rev 4195)
+++ trunk/thirdparty/drakma/CHANGELOG.txt 2009-02-09 10:14:59 UTC (rev 4196)
@@ -1,6 +1,7 @@
Version 0.12.0
2009-02-09
Use the new ("binary") version of Chunga
+Be more lenient about content length (thanks to Zach Beane and "pix")
Added conditions types
Added *ALLOW-DOTLESS-COOKIE-DOMAINS-P* (thanks to Daniel Janus)
Fix generation of user agent header (bug caught by Chaitanya Gupta)
Modified: trunk/thirdparty/drakma/doc/index.html
===================================================================
--- trunk/thirdparty/drakma/doc/index.html 2009-02-09 10:08:05 UTC (rev 4195)
+++ trunk/thirdparty/drakma/doc/index.html 2009-02-09 10:14:59 UTC (rev 4196)
@@ -881,13 +881,12 @@
content body. Note that this will not work with some older web
servers.
<p>
-<a class=none name="content-length2">A non-<code>NIL</code> <code><i>content-length</i></code> argument</a>
-means that Drakma <em>must</em> build the request body in RAM and
-compute the content length even if it would have otherwise used
-chunked encoding - for example in the case of file uploads. A special
-case is the value <code>T</code>
-for <code><i>content-length</i></code> which means that Drakma should
-compute the content length after building the request body.
+<a class=none name="content-length2">Providing
+a</a> <a href="http://www.lispworks.com/documentation/HyperSpec/Body/26_glo_t.htm#true">true</a>
+CONTENT-LENGTH argument which is not a non-negative integer means that
+Drakma <em>must</em> build the request body in RAM and compute the
+content length even if it would have otherwise used chunked encoding,
+for example in the case of file uploads.
<p>
<a class=none name="content-type"><code><i>content-type</i></code></a> is the
corresponding 'Content-Type' header to be sent and will be ignored
Modified: trunk/thirdparty/drakma/request.lisp
===================================================================
--- trunk/thirdparty/drakma/request.lisp 2009-02-09 10:08:05 UTC (rev 4195)
+++ trunk/thirdparty/drakma/request.lisp 2009-02-09 10:14:59 UTC (rev 4196)
@@ -285,12 +285,10 @@
send the content body. Note that this will not work with older web
servers.
-A non-NIL CONTENT-LENGTH argument means that Drakma /must/ build the
-request body in RAM and compute the content length even if it would
-have otherwise used chunked encoding, for example in the case of file
-uploads. A special case is the value T for CONTENT-LENGTH which means
-that Drakma should compute the content length after building the
-request body.
+Providing a true CONTENT-LENGTH argument which is not a non-negative
+integer means that Drakma /must/ build the request body in RAM and
+compute the content length even if it would have otherwise used
+chunked encoding, for example in the case of file uploads.
CONTENT-TYPE is the corresponding `Content-Type' header to be sent and
will be ignored unless CONTENT is provided as well.
@@ -398,8 +396,6 @@
(parameter-error "Don't know how to handle scheme ~S." (uri-scheme uri)))
(when (and close keep-alive)
(parameter-error "CLOSE and KEEP-ALIVE must not be both true."))
- (when (and (eq content :continuation) content-length)
- (parameter-error "CONTENT-LENGTH must be NIL if CONTENT is :CONTINUATION."))
(when (and form-data (not (eq method :post)))
(parameter-error "FORM-DATA makes only sense with POST requests."))
;; convert PROXY argument to canonical form
@@ -550,7 +546,9 @@
(when content-type
(write-header "Content-Type" "~A" content-type))
(when (and content-length
- (not (or (arrayp content)
+ (not (or (and (integerp content-length)
+ (not (minusp content-length)))
+ (arrayp content)
(listp content)
(eq content :continuation))))
;; CONTENT-LENGTH forces us to compute request body
Revision: 4194
Author: edi
URL: http://bknr.net/trac/changeset/4194
Update documentation
U trunk/thirdparty/drakma/CHANGELOG.txt
U trunk/thirdparty/drakma/conditions.lisp
U trunk/thirdparty/drakma/doc/index.html
U trunk/thirdparty/drakma/packages.lisp
Modified: trunk/thirdparty/drakma/CHANGELOG.txt
===================================================================
--- trunk/thirdparty/drakma/CHANGELOG.txt 2009-02-09 09:34:30 UTC (rev 4193)
+++ trunk/thirdparty/drakma/CHANGELOG.txt 2009-02-09 09:57:29 UTC (rev 4194)
@@ -1,3 +1,7 @@
+Version 0.12.0
+2009-02-09
+Use the new ("binary") version of Chunga
+Added conditions types
Added *ALLOW-DOTLESS-COOKIE-DOMAINS-P* (thanks to Daniel Janus)
Fix generation of user agent header (bug caught by Chaitanya Gupta)
Modified: trunk/thirdparty/drakma/conditions.lisp
===================================================================
--- trunk/thirdparty/drakma/conditions.lisp 2009-02-09 09:34:30 UTC (rev 4193)
+++ trunk/thirdparty/drakma/conditions.lisp 2009-02-09 09:57:29 UTC (rev 4194)
@@ -58,7 +58,7 @@
(define-condition parameter-error (drakma-simple-error)
()
- (:documentation "Signalled if a function was called with incosistent or illegal parameters."))
+ (:documentation "Signalled if a function was called with inconsistent or illegal parameters."))
(defun parameter-error (format-control &rest format-arguments)
"Signals an error of type PARAMETER-ERROR with the provided
Modified: trunk/thirdparty/drakma/doc/index.html
===================================================================
--- trunk/thirdparty/drakma/doc/index.html 2009-02-09 09:34:30 UTC (rev 4193)
+++ trunk/thirdparty/drakma/doc/index.html 2009-02-09 09:57:29 UTC (rev 4194)
@@ -96,6 +96,17 @@
<li><a href="#parameter-value"><code>parameter-value</code></a>
<li><a href="#get-content-type"><code>get-content-type</code></a>
</ol>
+ <li><a href="#conditions">Conditions</a>
+ <ol>
+ <li><a href="#drakma-condition"><code>drakma-condition</code></a>
+ <li><a href="#drakma-error"><code>drakma-error</code></a>
+ <li><a href="#drakma-warning"><code>drakma-warning</code></a>
+ <li><a href="#syntax-error"><code>syntax-error</code></a>
+ <li><a href="#parameter-error"><code>parameter-error</code></a>
+ <li><a href="#cookie-error"><code>cookie-error</code></a>
+ <li><a href="#cookie-error-cookie"><code>cookie-error-cookie</code></a>
+ <li><a href="#cookie-date-parse-error"><code>cookie-date-parse-error</code></a>
+ </ol>
</ol>
<li><a href="#prob">Potential problems</a>
<li><a href="#ack">Acknowledgements</a>
@@ -643,7 +654,7 @@
Drakma together with this documentation can be downloaded
from <a href="http://weitz.de/files/drakma.tar.gz">http://weitz.de/files/drakma.tar.gz</a>.
-The current version is 0.11.5. Drakma can be installed
+The current version is 0.12.0. Drakma can be installed
via <a href="http://www.cliki.net/asdf">ASDF</a> and depends on the
open source
libraries <a href="http://www.cliki.net/cl-base64">CL-BASE64</a> (use
@@ -1284,6 +1295,8 @@
Whether Drakma is allowed to treat <code>Expires</code> dates in
cookie headers as non-existent if it can't parse them. If the value
of this variable is <code>NIL</code> (which is the default), an error
+of
+type <a href="#cookie-date-parse-error"><code>COOKIE-DATE-PARSE-ERROR</code></a>
will be signalled instead.
<p>
Note that Drakma tries hard to parse every date representation its
@@ -1451,6 +1464,109 @@
<!-- End of entry for GET-CONTENT-TYPE -->
+<h4><a name="conditions" class=none>Conditions</a></h4>
+
+This section lists all the condition types that are defined by Drakma.
+
+<!-- Entry for DRAKMA-CONDITION -->
+
+<p><br>[Condition]
+<br><a class=none name="drakma-condition"><b>drakma-condition</b></a>
+
+<blockquote><br>
+All conditions signalled by Drakma are of this type. This is a subtype of <a href="http://www.lispworks.com/documentation/HyperSpec/Body/e_cnd.htm"><code>CONDITION</code></a>.
+</blockquote>
+
+<!-- End of entry for DRAKMA-CONDITION -->
+
+<!-- Entry for DRAKMA-ERROR -->
+
+<p><br>[Error]
+<br><a class=none name="drakma-error"><b>drakma-error</b></a>
+
+<blockquote><br>
+All errors signalled by Drakma are of this type. This is a subtype of <a href="#drakma-condition"><code>DRAKMA-CONDITION</code></a> and of <a href="http://www.lispworks.com/documentation/HyperSpec/Body/e_error.htm"><code>ERROR</code></a>.
+</blockquote>
+
+<!-- End of entry for DRAKMA-ERROR -->
+
+<!-- Entry for DRAKMA-WARNING -->
+
+<p><br>[Warning]
+<br><a class=none name="drakma-warning"><b>drakma-warning</b></a>
+
+<blockquote><br>
+All warnings signalled by Drakma are of this type. This is a subtype of <a href="#drakma-condition"><code>DRAKMA-CONDITION</code></a> and of <a href="http://www.lispworks.com/documentation/HyperSpec/Body/e_warnin.htm"><code>WARNING</code></a>.
+</blockquote>
+
+<!-- End of entry for DRAKMA-WARNING -->
+
+<!-- Entry for SYNTAX-ERROR -->
+
+<p><br>[Error]
+<br><a class=none name="syntax-error"><b>syntax-error</b></a>
+
+<blockquote><br> An error of this type is signalled if Drakma
+encounters wrong or unknown syntax when reading the reply from the
+server. This is a subtype
+of <a href="#drakma-error"><code>DRAKMA-ERROR</code></a>.
+</blockquote>
+
+<!-- End of entry for SYNTAX-ERROR -->
+
+<!-- Entry for PARAMETER-ERROR -->
+
+<p><br>[Error]
+<br><a class=none name="parameter-error"><b>parameter-error</b></a>
+
+<blockquote><br> An error of this type is signalled if a function was
+called with inconsistent or illegal parameters. This is a subtype
+of <a href="#drakma-error"><code>DRAKMA-ERROR</code></a>.
+</blockquote>
+
+<!-- End of entry for PARAMETER-ERROR -->
+
+<!-- Entry for COOKIE-ERROR -->
+
+<p><br>[Error]
+<br><a class=none name="cookie-error"><b>cookie-error</b></a>
+
+<blockquote><br> An error of this type is signalled in case of an
+attempt to create a <a href="#cookie"><code>COOKIE</code></a> object
+that's not valid. This is a subtype
+of <a href="#drakma-error"><code>DRAKMA-ERROR</code></a>. The
+condition object contains a <code><i>cookie</i></code> slot which can be accessed with the
+<a href="#cookie-error-cookie"><code>COOKIE-ERROR-COOKIE</code></a> reader. Note that the content of this slot can be
+<code>NIL</code> if the cookie couldn't be initialized.
+</blockquote>
+
+<!-- End of entry for COOKIE-ERROR -->
+
+<p><br>[Reader]
+<br><a class=none name="cookie-error-cookie"><b>cookie-error-cookie</b> <i>error</i> => <i>cookie-or-nil</i></a>
+
+<blockquote><br> If <code><i>error</i></code> is of
+type <a href="#cookie-error"><code>COOKIE-ERROR</code></a>, this
+function will return the associated invalid cookie or <code>NIL</code> if the
+cookie couldn't be created.
+</blockquote>
+
+<!-- Entry for COOKIE-DATE-PARSE-ERROR -->
+
+<p><br>[Error]
+<br><a class=none name="cookie-date-parse-error"><b>cookie-date-parse-error</b></a>
+
+<blockquote><br> An error of this type is signalled if Drakma tried to
+parse the date of an incoming cookie header and can't interpret it.
+This is a subtype
+of <a href="#cookie-error"><code>COOKIE-ERROR</code></a>.
+<p>
+See also <a href="#*ignore-unparseable-cookie-dates-p*"><code>*IGNORE-UNPARSEABLE-COOKIE-DATES-P*</code></a>.
+</blockquote>
+
+<!-- End of entry for COOKIE-DATE-PARSE-ERROR -->
+
+
<br> <br><h3><a class=none name="prob">Potential problems</a></h3>
Some web servers (notably <a href="http://paulgraham.com/">Paul Graham</a>'s
Modified: trunk/thirdparty/drakma/packages.lisp
===================================================================
--- trunk/thirdparty/drakma/packages.lisp 2009-02-09 09:34:30 UTC (rev 4193)
+++ trunk/thirdparty/drakma/packages.lisp 2009-02-09 09:57:29 UTC (rev 4194)
@@ -42,6 +42,7 @@
:cookie
:cookie-error
:cookie-error-cookie
+ :cookie-date-parse-error
:cookie-domain
:cookie-expires
:cookie-http-only-p
@@ -63,4 +64,5 @@
:parameter-present-p
:parameter-value
:read-tokens-and-parameters
- :split-tokens))
+ :split-tokens
+ :syntax-error))