Lisp HUG Maillist Archive

how to get contents of url

Does lispworks have a function like wget or geturl in python
that returns the contents of a url given the url?
I know about cl-http but I don't want to use it.


Re: how to get contents of url

"Larry Eclipse" <leclipse@insightful.com> writes:

> Does lispworks have a function like wget or geturl in python that
> returns the contents of a url given the url?  I know about cl-http
> but I don't want to use it.

I don't think it has. However, acl-compat[1] (which works with LW)
includes functionality to do that.

For a project of mine I wrote my own LW version of "wget" which
supports GET and POST parameters, Cookies and SSL (using CL-SSL)
because I wasn't aware of the fact that I could have used
acl-compat. Let me know if you want me to mail it to you.

Cheers,
Edi.

[1] <http://www.cliki.net/ACL-COMPAT>


Updated at: 2020-12-10 09:00 UTC