HTTP server over SSL/TLS with an automatically generated self-signed certificate
Project description
httpself
HTTP server over SSL/TLS with an automatically generated self-signed certificate.
Usage
Serve static files from the current working directory:
$ https [-p/--port <NNNN>] [--public]
Example #1
By default, the server runs on port number 443, which requires superuser privileges. Note that the server will only be accessible from the localhost:
$ https
Running server at https://localhost:443
Example #2
To specify an alternative port number:
$ https --port 8443
Running server at https://localhost:8443
Example #3
To make the server accessible from other devices:
$ https --public
Running server at https://0.0.0.0:443
Example #4
To run the server publicly on a custom port:
$ https --public -p 8443
Running server at https://0.0.0.0:8443
Installation
$ pip install httpself
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file httpself-1.0.0.tar.gz.
File metadata
- Download URL: httpself-1.0.0.tar.gz
- Upload date:
- Size: 3.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.0.0 CPython/3.8.0 Linux/4.15.0-74-generic
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
0e5da5a1f2b9f339436017431d8bdedca4306ea7996432b17f063883d412540e
|
|
| MD5 |
5f8446c778f9109cc7dd59410ddc884c
|
|
| BLAKE2b-256 |
1657dae51f38e7dda30fedc393e06cdd1b2919b17e801d6c7e67cb205f040c8d
|
File details
Details for the file httpself-1.0.0-py3-none-any.whl.
File metadata
- Download URL: httpself-1.0.0-py3-none-any.whl
- Upload date:
- Size: 4.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.0.0 CPython/3.8.0 Linux/4.15.0-74-generic
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c88b54285dcafd9529597c282b4b3a424c4f72f95e1bf51e18df9a610ba1761e
|
|
| MD5 |
0074ada241b322caabde16a82f9327cc
|
|
| BLAKE2b-256 |
bdac5a7b24883be846e0748628edf190291412248bba6f4196dd45b8a80b0455
|