;;; hello-world.el --- simple hello world server using Emacs Web Server
+;; Copyright (C) 2014 Free Software Foundation, Inc.
+
(ws-start
(lambda (request)
(with-slots (process headers) request
;;; hello-world-utf8.el --- utf8 hello world server using Emacs Web Server
+;; Copyright (C) 2014 Free Software Foundation, Inc.
+
(ws-start
(lambda (request)
(with-slots (process headers) request
;;; hello-world-html.el --- html hello world server using Emacs Web Server
+;; Copyright (C) 2014 Free Software Foundation, Inc.
+
(ws-start
(lambda (request)
(with-slots (process headers) request
;;; file-server.el --- serve any files using Emacs Web Server
+;; Copyright (C) 2014 Free Software Foundation, Inc.
+
(lexical-let ((docroot default-directory))
(ws-start
(lambda (request)
;;; url-param-echo.el --- echo back url-paramed message using Emacs Web Server
+;; Copyright (C) 2014 Free Software Foundation, Inc.
+
(ws-start
'(((:GET . ".*") .
(lambda (request)
;;; post-echo.el --- echo back posted message using Emacs Web Server
+;; Copyright (C) 2014 Free Software Foundation, Inc.
+
(ws-start
'(((:POST . ".*") .
(lambda (request)
;;; basic-authentication.el --- basic authentication
+;; Copyright (C) 2014 Free Software Foundation, Inc.
+
(lexical-let ((users '(("foo" . "bar")
("baz" . "qux"))))
(ws-start
;;; org-mode-file-server.el --- serve on-demand exported Org-mode files
+;; Copyright (C) 2014 Free Software Foundation, Inc.
+
(lexical-let ((docroot "/tmp/"))
(ws-start
(lambda (request)
;;; file-upload.el --- use an uploaded file
+;; Copyright (C) 2014 Free Software Foundation, Inc.
+
(ws-start
'(((:POST . ".*") .
(lambda (request)
;;; web-sockets.el --- communicate via web-sockets
+;; Copyright (C) 2014 Free Software Foundation, Inc.
(lexical-let* ((web-socket-port 9009)
(web-socket-page
;;; current-buffer.el --- Show the current Emacs buffer
+;; Copyright (C) 2014 Free Software Foundation, Inc.
+
(require 'htmlize)
(ws-start
;;; org-agenda.el --- display the Org-mode agenda
+;; Copyright (C) 2014 Free Software Foundation, Inc.
+
(require 'htmlize)
(ws-start
;;; search-bbdb.el --- search the Big Brother Data Base for a supplied name
+;; Copyright (C) 2014 Free Software Foundation, Inc.
+
(ws-start
(lambda (request)
(with-slots (process headers) request
;;; 013-org-export-service.el --- upload and export Org-mode files
+;; Copyright (C) 2014 Free Software Foundation, Inc.
+
(ws-start
(lambda (request)
(with-slots (process headers) request
;;; org-json.el --- Serve Org-mode pages as json
;; suggested by nicferrier
+;; Copyright (C) 2014 Free Software Foundation, Inc.
+
(require 'json)
(lexical-let ((docroot "/tmp/"))
(ws-start
;;; auto-mode-server.el --- files with fontification from the `auto-mode-alist'
+;; Copyright (C) 2014 Free Software Foundation, Inc.
+
(require 'htmlize)
(lexical-let ((docroot default-directory))
;;; content-encoding-gzip.el -- gzip content encoding
+;; Copyright (C) 2014 Free Software Foundation, Inc.
+
(ws-start
(lambda (request)
(with-slots (process headers) request
;;; transfer-encoding-chunked.el -- chunked transfer encoding
+;; Copyright (C) 2014 Free Software Foundation, Inc.
+
(ws-start
(lambda (request)
(let ((s "
;;; web-shell.el --- interact with a SHELL through a web interface
-;; Copyright (C) 2013 Eric Schulte <schulte.eric@gmail.com>
+;; Copyright (C) 2013-2014 Free Software Foundation, Inc.
+
+;; This software is free software: you can redistribute it and/or modify
+;; it under the terms of the GNU General Public License as published by
+;; the Free Software Foundation, either version 3 of the License, or
+;; (at your option) any later version.
+
+;; This software is distributed in the hope that it will be useful,
+;; but WITHOUT ANY WARRANTY; without even the implied warranty of
+;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+;; GNU General Public License for more details.
+
+;; You should have received a copy of the GNU General Public License
+;; along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.
;;; Commentary:
;;; web-server-status-codes.el --- Emacs Web Server HTML status codes
+;; Copyright (C) 2013-2014 Free Software Foundation, Inc.
+
+;; This software is free software: you can redistribute it and/or modify
+;; it under the terms of the GNU General Public License as published by
+;; the Free Software Foundation, either version 3 of the License, or
+;; (at your option) any later version.
+
+;; This software is distributed in the hope that it will be useful,
+;; but WITHOUT ANY WARRANTY; without even the implied warranty of
+;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+;; GNU General Public License for more details.
+
+;; You should have received a copy of the GNU General Public License
+;; along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.
+
;;; Code:
(defvar ws-status-codes
'((100 . "Continue")
;;; web-server-test.el --- Test the Emacs Web Server
-;; Copyright (C) 2013 Eric Schulte <schulte.eric@gmail.com>
+;; Copyright (C) 2013-2014 Free Software Foundation, Inc.
;; Author: Eric Schulte <schulte.eric@gmail.com>
-;; License: GPLV3 (see the COPYING file in this directory)
+
+;; This software is free software: you can redistribute it and/or modify
+;; it under the terms of the GNU General Public License as published by
+;; the Free Software Foundation, either version 3 of the License, or
+;; (at your option) any later version.
+
+;; This software is distributed in the hope that it will be useful,
+;; but WITHOUT ANY WARRANTY; without even the implied warranty of
+;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+;; GNU General Public License for more details.
+
+;; You should have received a copy of the GNU General Public License
+;; along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.
;;; Code:
(require 'web-server)
;; Package-Requires: ((emacs "24.3"))
;; Keywords: http, server, network
;; URL: https://github.com/eschulte/emacs-web-server
-;; License: GPLV3 (see the COPYING file in this directory)
+
+;; This software is free software: you can redistribute it and/or modify
+;; it under the terms of the GNU General Public License as published by
+;; the Free Software Foundation, either version 3 of the License, or
+;; (at your option) any later version.
+
+;; This software is distributed in the hope that it will be useful,
+;; but WITHOUT ANY WARRANTY; without even the implied warranty of
+;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+;; GNU General Public License for more details.
+
+;; You should have received a copy of the GNU General Public License
+;; along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.
;;; Commentary: