Various updates and bug fixes... enjoy.
Note that I now have a new public key (see http://
unclog.metabang.com/ for details).
--
Gary Warren King, metabang.com
Cell: (413) 885 9127
Fax: (206) 338-4052
gwkkwg on Skype * garethsan on AIM
_______________________________________________
cl-containers-announce mailing list
cl-containers-announce(a)common-lisp.net
http://common-lisp.net/cgi-bin/mailman/listinfo/cl-containers-announce
On Sun, 24 Sep 2006 23:00:32 -0400, Colin Simmonds <colin_simmonds(a)Mac.lover.org> wrote:
> I'd previously been using Curl through FFI bindings for a simple
> Lisp web client project of mine, but have now switched to Drakma as
> it's much easier to use.
>
> However, there was one feature in Curl that I needed which was
> missing, and was easily added in the attached patch. Curl has an
> autoreferer option, which when following redirects, automatically
> adds a Referer header containing the URI of the page that is being
> redirected from. I've added an equivalent option to the http-request
> function.
Thanks for the patch - I've added the new functionality to the 0.5.0
release. Note, however, that I've called it AUTO-REFERER (note the
hyphen).
Cheers,
Edi.
_______________________________________________
drakma-announce mailing list
drakma-announce(a)common-lisp.net
http://common-lisp.net/cgi-bin/mailman/listinfo/drakma-announce
Hi!
On Sun, 24 Sep 2006 09:41:04 +0300, "Ivan Toshkov" <ivan(a)toshkov.org> wrote:
> First of all, thank you Edi Weitz for your excellent libraries. I
> find them simple to use, well thought out, and with excellent
> documentation. Again, a big thank you.
You're welcome... :)
> And thanks to whoever is working on porting Drakma.
I think that's me... :)
> I found a couple of problems:
>
> Drakma cannot receive cookies from localhost. After a short
> investigation I found that the problem was with the method
> VALID-COOKIE-DOMAIN-P, which insist to have at least 2 dots in the
> normalized domain name. As a workaround I used 127.0.0.1 instead of
> localhost.
Thanks for the report, I've released a new version (0.4.4) which fixes
this.
> The other problem is with an incomplete implementation of
> flexi-streams under CMUCL. The call:
>
>> (drakma:http-request "http://www.google.com/" :parameters '(("q" . "something")))
>
> works normally, but
>
>> (drakma:http-request "http://www.google.com/search" :parameters '(("q" . "something")))
>
> gives:
>
> No matching method for the generic function
> #<STANDARD-GENERIC-FUNCTION INPUT-STREAM-P (2) {58E17501}>, when called with
> arguments (#<FLEXI-STREAMS::VECTOR-OUTPUT-STREAM {5834F8FD}>).
> [Condition of type PCL::NO-APPLICABLE-METHOD-ERROR]
>
> 0: ("DEFMETHOD NO-APPLICABLE-METHOD (T)" #<#1=unused-arg> #<#1#>
> #<STANDARD-GENERIC-FUNCTION INPUT-STREAM-P (2) {58E17501}>
> (#<FLEXI-STREAMS::VECTOR-OUTPUT-STREAM {5834F8FD}>))
> 1: (FLEXI-STREAMS:MAKE-FLEXI-STREAM
> #<FLEXI-STREAMS::VECTOR-OUTPUT-STREAM {5834F8FD}> :EXTERNAL-FORMAT
> :LATIN-1)
> 2: (FLEXI-STREAMS:STRING-TO-OCTETS "q" :EXTERNAL-FORMAT :LATIN-1 :START ...)
> 3: (DRAKMA::URL-ENCODE "q" :LATIN-1)
> 4: (DRAKMA::ALIST-TO-URL-ENCODED-STRING (("q" . "something")) :LATIN-1)
> 5: (DRAKMA:HTTP-REQUEST #<URI http://www.google.com/search>
> :PARAMETERS (("q" . "something")))
>
> I don't have time at the moment to see if anything else is missing
> and to give patches. For this case though the workaround seems to
> be as simple as:
>
> (defmethod input-stream-p ((s flexi-streams::vector-output-stream)) nil)
If I understand the Gray streams proposal correctly, this isn't an
incompleteness in FLEXI-STREAMS, but a problem in CMUCL's Gray streams
implementation. Are you using the newest version of CMUCL? Have you
asked on their mailing list? (It is also not clear to me why the
problem only surfaces with the longer URL because URL-ENCODE has to be
called in both cases.)
Cheers,
Edi.
_______________________________________________
drakma-announce mailing list
drakma-announce(a)common-lisp.net
http://common-lisp.net/cgi-bin/mailman/listinfo/drakma-announce
I've just updated Tinaa with some minor improvements and bug fixes
(thanks to Robert Goldman and Jason Dunsmore).
(Note that I'm in the midst of recovering from a hard drive failure
which has left my GPG private key in the operating room. I think I'll
be able to recover it but until I do, I can't update any of my ASDF
installable things without switching keys. If I don't recover the key
today; I'll start fresh.
thanks,
--
Gary Warren King, metabang.com
Cell: (413) 885 9127
Fax: (206) 338-4052
gwkkwg on Skype * garethsan on AIM
_______________________________________________
tinaa-announce mailing list
tinaa-announce(a)common-lisp.net
http://common-lisp.net/cgi-bin/mailman/listinfo/tinaa-announce
ChangeLog:
Version 0.11.2
2006-09-20
DEFINE-EASY-HANDLER: fixed and clarified redefinition
DEFINE-EASY-HANDLER: allow for functions designators as "URIs"
DEFINE-EASY-HANDLER: take file uploads into account
Made logging a little bit more robust
Added mime type for XSL-FO (.fo)
Download:
http://weitz.de/files/tbnl.tar.gz
Have fun,
Edi.
_______________________________________________
tbnl-announce site list
tbnl-announce(a)common-lisp.net
http://common-lisp.net/mailman/listinfo/tbnl-announce
According to the CDR Process, the CDR documents 0 and 1 have been
finalized today.
See http://cdr.eurolisp.org/final.html for more information.
Furthermore, we have set up a CDR Blog at http://cdr-blog.blogspot.com/ where we will post the same announcements as in
this mailing list.
Cheers,
Pascal
--
Pascal Costanza, mailto:pc@p-cos.net, http://p-cos.net
Vrije Universiteit Brussel, Programming Technology Lab
Pleinlaan 2, B-1050 Brussel, Belgium
_______________________________________________
cdr-announce mailing list
cdr-announce(a)common-lisp.net
http://common-lisp.net/cgi-bin/mailman/listinfo/cdr-announce
Hi everyone,
Since today, the closer packages are now "officially" asdf-
installable. Until now, Gary King has kindly made asdf-installable
versions of the closer packages available, and has taken great care
to be always up to date. I am greatly indebted to his efforts, and
also to his help in getting me up and going with regard to making my
packages asdf-installable.
If there are any issues with regard to the new asdf-installable
versions, please don't bother him but contact me, either directly or
through the closer-devel mailing list.
Cheers,
Pascal
--
Pascal Costanza, mailto:pc@p-cos.net, http://p-cos.net
Vrije Universiteit Brussel, Programming Technology Lab
Pleinlaan 2, B-1050 Brussel, Belgium
_______________________________________________
closer-announce mailing list
closer-announce(a)common-lisp.net
http://common-lisp.net/cgi-bin/mailman/listinfo/closer-announce
ChangeLog:
Version 0.6.1
2006-09-15
Switched FILE-POSITION implementation to TRIVIAL-GRAY-STREAMS (thanks to David Lichteblau)
Download:
http://weitz.de/files/flexi-streams.tar.gz
Note: At the moment you'll need the CVS version of TRIVIAL-GRAY-STREAMS.
Cheers,
Edi.
_______________________________________________
flexi-streams-announce mailing list
flexi-streams-announce(a)common-lisp.net
http://common-lisp.net/cgi-bin/mailman/listinfo/flexi-streams-announce