;;; hello-world-html.el --- html hello world server using Emacs Web Server
;; Copyright (C) 2013 Eric Schulte
;; Author: Eric Schulte
;; Keywords: hello http
;; License: GPLV3 (see the COPYING file in this directory)
;;; Code:
(require 'emacs-web-server)
(ews-start
'(((lambda (_) t) .
(lambda (proc request)
(ews-response-header proc 200 '("Content-type" . "text/html"))
(process-send-string proc "
Hello World
hello world
"))))
9002)