On Friday 08 February 2008 18:09:24 Daniel Janus wrote:
> On Friday 08 February 2008 18:06:12 Edi Weitz wrote:
> > > Would it be possible to reformulate the message so that it's more
> > > clear what happened?
> >
> > Sure.  Wanna send a patch?
>
> I should be able to on Monday.

Actually, I found a few more minutes and came up with the attached
patch, which changes the error to "Don't know what to do with NIL in 
multipart/form-data body.".

-- 
Daniel Janus <[EMAIL PROTECTED]>
Senior Software Engineer, SENTIVISION
Mb: +48.501180396 | Ph: +48.226400860
diff -Naur drakma-0.11.3-old/request.lisp drakma-0.11.3-new/request.lisp
--- drakma-0.11.3-old/request.lisp	2008-01-14 19:51:38.000000000 +0100
+++ drakma-0.11.3-new/request.lisp	2008-02-08 18:22:00.000000000 +0100
@@ -108,7 +108,7 @@
           (cond ((stringp value)
                  (crlf) (crlf)
                  (format stream "~A" value))
-                ((listp value)
+                ((and (listp value) (rest value))
                  (let* ((file-source (first value))
                         (filename (or (if (functionp file-source) "user-closure")
                                       (if (streamp file-source) "user-stream")
_______________________________________________
drakma-devel mailing list
drakma-devel@common-lisp.net
http://common-lisp.net/cgi-bin/mailman/listinfo/drakma-devel

Reply via email to