view roundup/anypy/http_.py @ 7387:46f92ac4e170

- issue2551275 - Allow configuring max_children in roundup-server. new -m and --max_children command line arguments and max_children config file setting for roundup_server.py/roundup-server. CHANGES.txt, admin_guide.txt, roundup-server.1 updated.
author John Rouillard <rouilj@ieee.org>
date Tue, 23 May 2023 23:34:06 -0400
parents 07ce4e4110f5
children ce04a489312e
line wrap: on
line source

try:
    # Python 3+
    from http import client, server
    server.DEFAULT_ERROR_MESSAGE
except (ImportError, AttributeError):
    # Python 2.5-2.7
    import httplib as client                     # noqa: F401
    import BaseHTTPServer as server              # noqa: F401

Roundup Issue Tracker: http://roundup-tracker.org/