Quoth Thien-Thi Nguyen <[EMAIL PROTECTED]>:
> What does the client see for the second case?

 #!/usr/bin/guile -s
 !#
 (use-modules (www cgi)) ;LOAD
 (cgi:init)              ;INIT
 (simple-format
         #t
         "Content-Type: text/plain\r\n\r\n~A"
         "hello world")

---/---

 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.

Seb



Reply via email to