From: Teemu Likonen on
I need a simple web client which can pass username and password for the
server. First I tried cl-trivial-https package in Debian GNU/Linux but
it doesn't seem to support authentication. I also tried cl-webactions
package but it led to dependency problems and some of the components
don't even work in Clisp.

What solution would you suggest?

(Well, I could use external "wget" program.)
From: Otto Diesenbacher on
Teemu Likonen <tlikonen(a)iki.fi> writes:

> I need a simple web client which can pass username and password for the
> server.

> What solution would you suggest?

Drakma: http://weitz.de/drakma/



From: Petter Gustad on
Teemu Likonen <tlikonen(a)iki.fi> writes:

> I need a simple web client which can pass username and password for the
> server. First I tried cl-trivial-https package in Debian GNU/Linux but
> it doesn't seem to support authentication. I also tried cl-webactions

You don't need the full webactions package to do a client side
request, you can do with allegroserve only, or more specifically
net.aserve.client:do-http-request

Hoever, I've never used portable allegroserve under clisp so the
dependency problems you describe might still be there.

> package but it led to dependency problems and some of the components
> don't even work in Clisp.
>
> What solution would you suggest?

You could try Drakma: http://weitz.de/drakma/

Petter

--
A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing on usenet and in e-mail?
From: Teemu Likonen on
* 2010-03-08 10:29 (+0100), Petter Gustad wrote:

> You don't need the full webactions package to do a client side
> request, you can do with allegroserve only, or more specifically
> net.aserve.client:do-http-request
>
> Hoever, I've never used portable allegroserve under clisp so the
> dependency problems you describe might still be there.

Yes, it didn't work with Clisp.

> You could try Drakma: http://weitz.de/drakma/

Sadly that's not packaged for Debian and its dependencies can't be
satisfied with Debian packages. Too much hassle. It seems that
(run-program "wget") is the easiest solution, and the most portable.

Thanks anyway.
From: Petter Gustad on
Teemu Likonen <tlikonen(a)iki.fi> writes:

> Sadly that's not packaged for Debian and its dependencies can't be
> satisfied with Debian packages. Too much hassle. It seems that

Maybe it's easier to forget about the Debian packages and use clbuld
instead?

http://common-lisp.net/project/clbuild/

You might have to get all the different revision control systems up
and running, but after that clbuild will handle downloading of various
CL libraries for you.

Petter
--
A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing on usenet and in e-mail?