This is the mail archive of the guile@cygnus.com mailing list for the guile project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: Talking to a WWW-server


Jim Blandy <jimb@red-bean.com> writes:

> I forgot to commit some fixes... Try:
> 
>   ftp://ftp.red-bean.com/guile/contrib/modules/guile-www-1.0b.tar.gz
> 
> Don't bother with the stuff in main.scm.  Use http:get and url:parse
> directly.
> 
> totoro:jimb$ guile
> guile> (use-modules (www url) (www http))
> guile> (http:get (url:parse "http://www.nada.kth.se/~mdj/"))
> #("HTTP/1.0" "200" "OK"
>   ((last-modified . "Wed, 19 Mar 1997 12:50:10 GMT")
>    (content-length . "863")
>    (content-type . "text/html")
>    (server . "Apache/1.1.3 Nada/5")
>    (date . "Mon, 20 Oct 1997 22:32:29 GMT"))
>  "<TITLE>Mikael Djurfeldt</TITLE> ...")
> guile> 
> 

Thanks!

But there seems to be a problem...

mdj:/scratch/src> tar ztf guile-www-1.0b.tar.gz 
guile-www-1.0b/Makefile.in
guile-www-1.0b/README
guile-www-1.0b/ChangeLog
guile-www-1.0b/Makefile.am
guile-www-1.0b/aclocal.m4
guile-www-1.0b/configure
guile-www-1.0b/configure.in
guile-www-1.0b/install-sh
guile-www-1.0b/missing
guile-www-1.0b/mkinstalldirs
mdj:/scratch/src>

/mdj