8 Mar
2007
8 Mar
'07
16:57
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 8-Mar-07, at 4:27 PM, James Cash wrote:
Back at REPL:
(read-line p) "GET / HTTP/1.1" (display "content-type: text/plain\n" p) (display "Hello World!\n" p) (force-output p)
...And nothing happens...the page keeps trying to load, nothing is shown. What am I doing wrong? I tried looking at the code in the example webserver, but it didn't help much, since its much more complicated than what I'm trying to do here. Can anyone help?
Did you try (close-port p) ? Marc -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.3 (Darwin) iD8DBQFF8Iba//V9Zc2T/v4RAvVXAJ9vGwcE7BvLGPq9ty7RU58yWoL2ewCfW5wX OfrfXW9SgXf8VT6bPj/47Nk= =BL+T -----END PGP SIGNATURE-----