Warning: This library currently ships with a shared object of gohttplib compiled for OSX. It will not work on other platforms at the moment.
See https://github.com/shazow/gohttplib for details.
Usage
from gohttp import route, run
@route('/')
def index(w, req):
w.write("%s %s %s\n" % (req.method, req.host, req.url))
w.write("Hello, world.\n")
run(host='127.0.0.1', port=5000)
License
MIT.
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
gohttp-0.3.2.tar.gz
(2.7 MB
view details)
File details
Details for the file gohttp-0.3.2.tar.gz.
File metadata
- Download URL: gohttp-0.3.2.tar.gz
- Upload date:
- Size: 2.7 MB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
e77ee7b53014006e17383ffc053c8846e3d8ff9b649e6a4c066f24ff6f45fb3f
|
|
| MD5 |
1100cb5079b7421dbbb62d8b814472c6
|
|
| BLAKE2b-256 |
127cab0e6db35076390c23f499184eb8d140060509d6b368879b525690d7f13f
|