GitXplorerGitXplorer
b

extended_http_server

public
91 stars
9 forks
1 issues

Commits

List of commits on branch main.
Verified
e68969b45370b3f07067c7539debbd358cc71699

Delete FUNDING.yml

bbboe committed 4 years ago
Verified
e86038909d88d63b6647f1badaf6c8a86b71519b

Create FUNDING.yml

bbboe committed 4 years ago
Unverified
7652d603c8cef9130ad68e0ae16c93465da40a82

Use 2.6 compatible format strings.

bbboe committed 11 years ago
Unverified
0acd8949e2233ddfbc8b03faac62c7d6e517f73d

trackebacks -> tracebacks in docstring.

bbboe committed 12 years ago
Unverified
34ad259cc9e05c63b0c4100c00b41b6f57a1f579

Add Simplified BSD License.

bbboe committed 12 years ago
Unverified
11ad5ac1f9a70b5a99b8f1c2dfc0a7d3d5906dae

Actually support the ThreadingMixIn. Version bump.

bbboe committed 12 years ago

README

The README file for this repository.

Installation

pip install ext_http_server

Generate a certificate

Run the following to generate cert.pem:

openssl req -new -x509 -days 365 -nodes -out cert.pem -keyout cert.pem

Running ext_http_server

If you have files you want to serve in /tmp/path/to/files/ run the following to serve them up with a max outgoing throughput of 16KBps:

ext_http_server --cert cert.pem -d /tmp/path/to/files -r16 -a foo:bar

By default, you will be able to access the webserver at https://localhost:8000. To authenticate, use the username foo and the password bar as indicated by the -a foo:bar argument. Note that multiple -a arguments can be added to add more than one user.