Skip to main content

GNUTTY

Pure Python HTTP Server

How do I use this?

So long as you have Python3.4 or higher, there are no dependencies to worry about. Gnutty uses nothing but Python

To start the example server, run

python3 ./srv/gnutty.py

From the root of the repository.

You can confirm that it is running by opening http://127.0.0.1:8000/ in a browser and checking you receive the plaintext response of OK

You can also run

curl -v http://127.0.0.1:8000

To confirm the response from the Gnutty Server

~  curl -v http://127.0.0.1:8000
*   Trying 127.0.0.1...
* TCP_NODELAY set
* Connected to 127.0.0.1 (127.0.0.1) port 8000 (#0)
> GET / HTTP/1.1
> Host: 127.0.0.1:8000
> User-Agent: curl/7.64.1
> Accept: */*
>
* HTTP 1.0, assume close after body
< HTTP/1.0 200 OK
< Server: Gnutty HTTP server 0.1
< Content-Type: text
< Content-Length: 2
<
* Closing connection 0
OK

Metadata

Release files for gnutty 0.0.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for gnutty 0.0.1
File Size Uploaded Provenance Actions
gnutty-0.0.1.tar.gz 5.6 kB Without provenance Details for gnutty-0.0.1.tar.gz

Release files / gnutty-0.0.1.tar.gz

Download URL gnutty-0.0.1.tar.gz
Size 5.6 kB
Tags Source
SHA-256 checksum
How to use checksums
c08c1f802c10b188c2a8056fa665e9c56fd5f54b9b5c1e745da39424882b9469
BLAKE2b-256 checksum
How to use checksums
0113dc532e3c88dfd1a39129a343d5af879475211bebb54b305a671d88f39893
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.12.1 pkginfo/1.4.2 requests/2.20.0 setuptools/39.0.1 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/2.7.14

Security for gnutty 0.0.1

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.0.1 This release

1 release file No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page