unofficial mirror of guile-user@gnu.org 
 help / color / mirror / Atom feed
From: Thien-Thi Nguyen <ttn@gnuvola.org>
To: guile-user@gnu.org
Subject: Re: CGI scripting with Guile
Date: Sun, 16 Mar 2008 14:06:16 +0100	[thread overview]
Message-ID: <87r6ea3jjr.fsf@ambire.localdomain> (raw)
In-Reply-To: 87prtude7s.fsf@moley.moleskin.org

() Sebastian Tennant <sebyte@smolny.plus.com>
() Sun, 16 Mar 2008 14:51:19 +0200

    guile> (www:get "http://www.../hw.scm")
    ""
    guile> (www:http-head-get "http://www.../hw.scm")
    #("HTTP/1.0" "200" "OK" ((server . "lighttpd/1.4.18") (date . "Sun, 16
     Mar 2008 12:43:32 GMT") (content-length . "0") (connection . "close"))
     "")

   It 'works' without LOAD and INIT.

Perhaps the module (www cgi) is not being loaded.
What happens when you insert the form:
 (simple-format (open-output-file "/tmp/alive") "ALIVE! ~S\n" cgi:init)
between LOAD and INIT?  (What are the contents of file /tmp/alive after?)

thi





  reply	other threads:[~2008-03-16 13:06 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-03-15 22:10 CGI scripting with Guile Sebastian Tennant
2008-03-15 22:40 ` Thien-Thi Nguyen
2008-03-16  0:41   ` Sebastian Tennant
2008-03-16  9:16     ` Thien-Thi Nguyen
2008-03-16 10:41       ` Sebastian Tennant
2008-03-16 12:51   ` Sebastian Tennant
2008-03-16 13:06     ` Thien-Thi Nguyen [this message]
2008-03-16 15:11       ` Sebastian Tennant
2008-03-16 12:56   ` Sebastian Tennant
2008-03-16 13:16     ` Thien-Thi Nguyen
2008-03-18 20:19       ` Sebastian Tennant
2008-03-19  7:22         ` Thien-Thi Nguyen
2008-03-19  9:24           ` Sebastian Tennant
2008-03-15 22:48 ` Sebastian Tennant
2008-03-15 22:52   ` Sebastian Tennant

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/guile/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87r6ea3jjr.fsf@ambire.localdomain \
    --to=ttn@gnuvola.org \
    --cc=guile-user@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).