view roundup/anypy/http_.py @ 5606:5fc476d4e34c

Merge REST API changes
author Ralf Schlatterbeck <rsc@runtux.com>
date Wed, 30 Jan 2019 18:11:02 +0100
parents a75285092156
children 106f4384688b
line wrap: on
line source

try:
    # Python 3+
    from http import client, server
    server.DEFAULT_ERROR_MESSAGE
except:
    # Python 2.5-2.7
    import httplib as client
    import BaseHTTPServer as server


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