Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python.announce > #1789

Simplifying Subclassing of SimpleHTTPRequestHandler

Date 2015-07-18 18:40 -0400
Subject Simplifying Subclassing of SimpleHTTPRequestHandler
From J Adrian Zimmer <jadrianzimmer@gmail.com>
Newsgroups comp.lang.python.announce
Message-ID <mailman.702.1437285483.3674.python-announce-list@python.org> (permalink)

Show all headers | View raw


If you are a Python programmer wanting to set up an open-source server for
your own application, if you don't need a high volume, general purpose
server and are put off by the complexities of Apache and BaseHTTPServer,
then ProgrammableServer may be for you. It is easy to setup and, if
necessary, reconfigure.

With ProgrammableServer, you can create a simple or complex application
whose demands on a web server are few. You do this by writing one or more
*expanders* each of which handles a single kind of request. Writing an
expander is made easier because you have a choice of mixins to include. An
expander mixin consists of a few functions that provide an environment
customized to your needs.

See more at:

https://github.com/J-Adrian-Zimmer/ProgrammableServer.git

Back to comp.lang.python.announce | Previous | Next | Find similar | Unroll thread


Thread

Simplifying Subclassing of SimpleHTTPRequestHandler J Adrian Zimmer <jadrianzimmer@gmail.com> - 2015-07-18 18:40 -0400

csiph-web