guile-user
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: CGI scripting with Guile


From: Thien-Thi Nguyen
Subject: Re: CGI scripting with Guile
Date: Sun, 16 Mar 2008 14:06:16 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (gnu/linux)

() Sebastian Tennant <address@hidden>
() 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 via email to

[Prev in Thread] Current Thread [Next in Thread]