Skip to main content

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.macosx-10.9-x86_64.tar.gz (2.5 MB view details)

Uploaded Source

File details

Details for the file gohttp-0.3.macosx-10.9-x86_64.tar.gz.

File metadata

File hashes

Hashes for gohttp-0.3.macosx-10.9-x86_64.tar.gz
Algorithm Hash digest
SHA256 7070d0a5a8ebae8bd20afc9523397315f25cfaad83c7ffc86e9e524cfc8be840
MD5 baf952da31e499e846e1bd88abd4c4d2
BLAKE2b-256 b1a6bffee12f739ee1c7bf552b80f83531bfcfca2292aad5facd735013d663a0

See more details on using hashes here.

Supported by

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