Skip to content

Latest commit

 

History

History
33 lines (22 loc) · 456 Bytes

File metadata and controls

33 lines (22 loc) · 456 Bytes

Run simple wsgi application in Golang.

Run http server.

$ cd src/github.com/spikeekips/embedding-python-in-golang
$ make wsgi-simple.go
...

Send test request,

$ curl -H "X-A: $(date)" -v http://127.0.0.1:8080/

or run ab,

$ make ab

For comparison with native net/http in golang, I added go handler, you can send request to go handler,

$ curl -H "X-A: $(date)" -v http://127.0.0.1:8080/go

or 

$ make ab.go