PHP 8.2.30
Preview: server.py Size: 606 B
//opt/alt/python37/lib/python3.7/site-packages/future/moves/http/server.py

from __future__ import absolute_import
from future.utils import PY3

if PY3:
    from http.server import *
else:
    __future_module__ = True
    from BaseHTTPServer import *
    from CGIHTTPServer import *
    from SimpleHTTPServer import *
    try:
        from CGIHTTPServer import _url_collapse_path     # needed for a test
    except ImportError:
        try:
            # Python 2.7.0 to 2.7.3
            from CGIHTTPServer import (
                _url_collapse_path_split as _url_collapse_path)
        except ImportError:
            # Doesn't exist on Python 2.6.x. Ignore it.
            pass

Directory Contents

Dirs: 1 × Files: 5

Name Size Perms Modified Actions
- drwxr-xr-x 2024-03-03 23:10:26
Edit Download
165 B lrw-r--r-- 2018-10-25 22:21:01
Edit Download
173 B lrw-r--r-- 2018-10-25 22:21:01
Edit Download
233 B lrw-r--r-- 2018-10-25 22:21:01
Edit Download
606 B lrw-r--r-- 2018-10-25 22:21:01
Edit Download
71 B lrw-r--r-- 2018-10-25 22:21:01
Edit Download

If ZipArchive is unavailable, a .tar will be created (no compression).