Emacs Web Server
http://nullprogram.com/blog/2009/05/17/May 17, 2009
The server log is lisp itself. Here is an example log starting the server, serving one request, and halting,
'(log (start "Wed May 13 23:33:34 2009") (connection (date "Wed May 13 23:36:25 2009") (address "192.168.0.3") (get "/0001.html") (req ("Referer" "http://192.168.0.2:8080/") ("Connection" "keep-alive") ("Keep-Alive" "300") ("Accept-Charset" "ISO-8859-1,utf-8;q=0.7,*;q=0.7") ("Accept-Encoding" "gzip,deflate") ("Accept-Language" "en-us,en;q=0.5") ("Accept" "image/png,image/*;q=0.8,*/*;q=0.5") ("User-Agent" "Mozilla/5.0 [...] Iceweasel/3.0.9 (Debian-3.0.9-1)") ("Host" "192.168.0.2:8080") ("GET" "/0001.html" "HTTP/1.1")) (path "~/public_html/0001.html") (status 200)) (stop "Wed May 13 23:38:17 2009"))
--
simple-httpd and impatient-mode
No comments:
Post a Comment