Skip to main content

Python webserver with https and upload support

Project description

DEFWEB

Defweb is an enhancement of the standard http.server of python3. Defweb supports https en file uploads.

Installing

Installing the package via pypi:

pip install defweb
Options
usage: __main__.py [-h] [-s] [-r] [-p PORT] [-b BIND] [-d [DIR]]
                   [-i [SERVER NAME]]

optional arguments:
  -h, --help           show this help message and exit
  -s, --secure         use https instead of http
  -r, --recreate_cert  re-create the ssl certificate
  -p PORT              port to use; defaults to 8000
  -b BIND              ip to bind to; defaults to 127.0.0.1
  -d [ DIR ]           path to use as document root
  -i [ SERVER NAME ]   server name to send in headers
Usage
python3 -m defweb

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

defweb-0.1.0.dev1.tar.gz (5.9 kB view hashes)

Uploaded Source

Built Distribution

defweb-0.1.0.dev1-py3-none-any.whl (6.9 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page